aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/shop.rb
Commit message (Collapse)AuthorAgeFilesLines
* Don't try to get the subclass if the inheritance column doesn't existUjjwal Thaakar2014-01-141-0/+5
| | | | | | | The `subclass_from_attrs` method is called even if the column specified by the `inheritance_column` setting doesn't exist. This prevents setting associations via the attributes hash if the association name clashes with the value of the setting, typically `:type`. This worked previously in Rails 3.2.
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-1/+1
| | | | 's/[ \t]*$//' -i {} \;)
* Refactor compute_type to handle situations where the correct class is ↵Andrew White2010-04-121-0/+12
already loaded Signed-off-by: wycats <wycats@gmail.com>