aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2016-01-31 23:07:27 +0900
committeryui-knk <spiketeika@gmail.com>2016-02-01 08:02:33 +0900
commit615dcadba0c18e332a497c515b66215c446dfe1d (patch)
treed9f9c01a9b81191563845541d8c870399ef23bd6 /activerecord/lib/active_record/connection_adapters
parent5c9cccaf25888836aacbca24dbbe8e94d0d61eac (diff)
downloadrails-615dcadba0c18e332a497c515b66215c446dfe1d.tar.gz
rails-615dcadba0c18e332a497c515b66215c446dfe1d.tar.bz2
rails-615dcadba0c18e332a497c515b66215c446dfe1d.zip
Remove `case macro` from `calculate_constructable`
Rails has abstract Reflection classes (`MacroReflection`, `AssociationReflection` etc.) and concrete Reflection classes (e.g. `HasManyReflection`, `HasOneReflection` etc.). In many case `calculate_constructable` returns `true`, so change `calculate_constructable` to always return `true` and override this method if necessary.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
0 files changed, 0 insertions, 0 deletions