Module: Polo::SqlTranslator::ActiveRecordLessThanFour
- Included in:
- Polo::SqlTranslator
- Defined in:
- lib/polo/sql_translator.rb
Overview
Internal: Returns an object’s attribute definitions along with their set values (for Rails 3.x).
Instance Method Summary collapse
Instance Method Details
#insert_values(record) ⇒ Object
60 61 62 |
# File 'lib/polo/sql_translator.rb', line 60 def insert_values(record) record.send(:arel_attributes_values) end |