diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-06-30 12:02:26 -0700 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-06-30 12:02:26 -0700 |
commit | 4d9be13a381948377678f12880a43341ea0571dc (patch) | |
tree | a6e1261da13928b4670b45959147b22e1d320a42 /activerecord/lib/active_record/null_relation.rb | |
parent | 6b9d1a0db2f7829509689d244d6a5eda5210401d (diff) | |
parent | 59e23e2ff22c0deb770af768c4cc04bd1b2c2ad7 (diff) | |
download | rails-4d9be13a381948377678f12880a43341ea0571dc.tar.gz rails-4d9be13a381948377678f12880a43341ea0571dc.tar.bz2 rails-4d9be13a381948377678f12880a43341ea0571dc.zip |
Merge pull request #6913 from lexmag/column_exists_options
Add :default and :null options to column_exists? method
Examples:
column_exists?(:testings, :taggable_id, :integer, null: false)
column_exists?(:testings, :taggable_type, :string, default: 'Photo')
Diffstat (limited to 'activerecord/lib/active_record/null_relation.rb')
0 files changed, 0 insertions, 0 deletions