Displaying 1 result from an estimated 1 matches for "accesslevel".
Did you mean:
access_level
2006 Apr 19
0
How to rubify this query
Hi guys,
i spent about 5 hours now of finding out how to rubify/railify this
query!
Maybe someone of you can help me ;)
class Menu < ActiveRecord::Base
validates_uniqueness_of :handle
validates_presence_of :name, :sequence, :accesslevel, :defaultpage,
:handle
belongs_to :cmodule
belongs_to :creator, :class_name => ''User'', :foreign_key =>
''created_by''
belongs_to :updater, :class_name => ''User'', :foreign_key =>
''updated_by''
end
Now this is...