Module: ActiveRecord::ModelSchema::ClassMethods
- Defined in:
- lib/r_kit/utility/active_record_extend.rb
Instance Method Summary collapse
Instance Method Details
#column_exists?(column_name) ⇒ Boolean
3 4 5 |
# File 'lib/r_kit/utility/active_record_extend.rb', line 3 def column_exists? column_name !!columns_hash[column_name] end |