def self.all_with_logo categories = all(:include=>[:links], :conditions=>"links.logo_file_name IS NOT NULL") end
Ruby On Find records according to r...
by https://www.google.com/accounts/o8/id?id=AItOawl_CInyr4p6Fw9fCXT3DYEGIiMyGOQDomw,
August 02, 2010 19:15
# link_categories has_many links create_table "link_categories", :force => true do |t| t.string "name" ...
Ruby Find records according to r...
by https://www.google.com/accounts/o8/id?id=AItOawl_CInyr4p6Fw9fCXT3DYEGIiMyGOQDomw,
August 02, 2010 18:43,
1 refactoring, tagged with rails, sql, ruby, activerecord
I have a method (LinkCatego...
I just found something.