diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2015-12-17 09:35:56 -0700 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-12-17 09:36:59 -0700 |
commit | 7f86ed8b36b534cf94fe2ff47ae71956b57893ac (patch) | |
tree | 789194cdc5c78c04cff03c295e4205eb3bc36810 /activerecord/lib/active_record/model_schema.rb | |
parent | 0957c8ad6722c1a82c16f70b23fe1f7cb2607ff5 (diff) | |
download | rails-7f86ed8b36b534cf94fe2ff47ae71956b57893ac.tar.gz rails-7f86ed8b36b534cf94fe2ff47ae71956b57893ac.tar.bz2 rails-7f86ed8b36b534cf94fe2ff47ae71956b57893ac.zip |
Call the new point behavior `:point`, not `:rails_5_1_point`
Since the attributes API is new in Rails 5, we don't actually need to keep
the behavior of `attribute :point`, as it's not a breaking change.
Diffstat (limited to 'activerecord/lib/active_record/model_schema.rb')
-rw-r--r-- | activerecord/lib/active_record/model_schema.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/model_schema.rb b/activerecord/lib/active_record/model_schema.rb index 5df67cdbe7..a6a68f3d4b 100644 --- a/activerecord/lib/active_record/model_schema.rb +++ b/activerecord/lib/active_record/model_schema.rb @@ -385,7 +385,7 @@ module ActiveRecord If you'd like the new behavior today, you can add this line: - attribute :#{column.name}, :rails_5_1_point#{array_arguments} + attribute :#{column.name}, :point#{array_arguments} WARNING end end |