Class: Arel::Attributes::Key
- Inherits:
-
Attribute
- Object
- Attribute
- Arel::Attributes::Key
- Defined in:
- lib/arel/attributes/key.rb
Instance Method Summary collapse
Instance Method Details
#able_to_type_cast? ⇒ Boolean
7 8 9 |
# File 'lib/arel/attributes/key.rb', line 7 def able_to_type_cast? false end |
#table_name ⇒ Object
11 12 13 |
# File 'lib/arel/attributes/key.rb', line 11 def table_name nil end |
#type_cast_for_database(value) ⇒ Object
15 16 17 |
# File 'lib/arel/attributes/key.rb', line 15 def type_cast_for_database(value) relation.type_cast_for_database(value) end |