Hi,
I have an Instance model in my application, to which I want to add a
has_many :web_file_attachment from the plugin.
I tried putting this in my plugin's app/model/instance.rb :
class Instance < ActiveRecord::Base
has_many :web_file_attachments , :dependent => :destroy
end
but it doesn't seem to work.
What's the way to get this working?
Thanks
Raph
--
Web database: http://www.myowndb.com
Free Software Developers Meeting: http://www.fosdem.org
_______________________________________________
Engine-Users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org