class Chili < ActiveRecord::Base
has_many :beans
end
class Bean < ActiveRecord::Base; end
class Pinto < Bean; end
>> mychili.beans
= []
Application response error
img objects must have valid 'src' and 'href' attributes. You can see this because you are one of the developers of the app.
]]>
ArgumentError in WelcomeController#index
wrong number of arguments (2 for 1)
Application Trace | Framework Trace | Full Trace
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:2233:in `sanitize_sql_hash_for_conditions'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:2233:in `sanitize_sql'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:1494:in `merge_conditions'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:1492:in `each'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:1492:in `merge_conditions'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:1804:in `add_conditions!'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:1687:in `construct_finder_sql'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:1548:in `find_every'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:1505:in `find_initial'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:613:in `find'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:1900:in `find_by_remember_token'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:1885:in `send'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:1885:in `method_missing'
]]>
NameError: uninitialized constant Shared::Sweepers