diff options
author | kennyj <kennyj@gmail.com> | 2013-07-24 23:13:18 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2013-07-24 23:26:33 +0900 |
commit | 098c9c8bc96f70de74358644bd0cdfcd9d20535c (patch) | |
tree | 8e6741dbc8106b70b0d56a8e564f34e268ec1666 /activerecord/lib | |
parent | 19291bff34ce8e36117f07e6e1d546d8ee47529f (diff) | |
download | rails-098c9c8bc96f70de74358644bd0cdfcd9d20535c.tar.gz rails-098c9c8bc96f70de74358644bd0cdfcd9d20535c.tar.bz2 rails-098c9c8bc96f70de74358644bd0cdfcd9d20535c.zip |
Fix indentation.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb index 11f5bd5d3c..97e1bc5379 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb @@ -374,14 +374,14 @@ module ActiveRecord update_sql(sql, name) end - def sql_for_insert(sql, pk, id_value, sequence_name, binds) - [sql, binds] - end - - def last_inserted_id(result) - row = result.rows.first - row && row.first - end + def sql_for_insert(sql, pk, id_value, sequence_name, binds) + [sql, binds] + end + + def last_inserted_id(result) + row = result.rows.first + row && row.first + end end end end |