aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-12-02 16:02:01 +0100
committerYves Senn <yves.senn@gmail.com>2015-12-02 16:02:01 +0100
commit0f82f661b75a4cdeae027e80940200061b0496c2 (patch)
tree4cd89d25da92154d7c83f96ef710170228ec6018 /activerecord/lib/active_record/attribute_methods.rb
parent3da890f891b116218c10d9b049dba23d15d416cf (diff)
downloadrails-0f82f661b75a4cdeae027e80940200061b0496c2.tar.gz
rails-0f82f661b75a4cdeae027e80940200061b0496c2.tar.bz2
rails-0f82f661b75a4cdeae027e80940200061b0496c2.zip
tests, pluralize singular table name.
This solves the following error: ActiveRecord::StatementInvalid: Could not find table 'guitars' It seems that the table structure of the `Guitar` model has not been necessary until now. Due to the wrong table name the model was not correctly linked to the table.
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods.rb')
0 files changed, 0 insertions, 0 deletions