| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| | |
association_foreign_key is missing. [#1252 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
| |
| |
| |
| |
| |
| | |
[#1267 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 38136f86dc5504bde94dc7399d4a854023d7481f.
Caused several test failures on the ci box:
http://ci.rubyonrails.org/builds/rails/38136f
[#2080 state:open]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Sqlite has had DDL transactions since 2.0.0[1] and savepoints since
3.6.8[2]. This patch updates the connection_adapters.
[1] http://tinyurl.com/sqlite-v2-0-0
[2] http://tinyurl.com/sqlite-v3-6-8
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#2080 state:committed]
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
|
| |
| |
| |
| | |
state:resolved]
|
| |
| |
| |
| |
| |
| | |
destruction. [#2064 status:resolved]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
|
| |
| |
| |
| | |
[#1930 status:committed]
|
| | |
|
| |
| |
| |
| | |
request [#1927 state:resolved]
|
| | |
|
| | |
|
| |
| |
| |
| | |
batch processing [DHH/Jamis Buck]
|
| |
| |
| |
| |
| |
| |
| | |
This caused failures on sqlite, sqlite3 and postgresql
This reverts commit fc09ebc669bd58f415f7d3ef932ef02dab821ab5.
[#922 state:reopened]
|
| |
| |
| |
| |
| | |
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#922 state:committed]
|
| |
| |
| |
| |
| |
| |
| |
| | |
of hashes that have the id on the inside of the attributes hash and updated the FormBuilder to produce such hashes. Also fixed NestedAttributes with composite ids.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com>
[#1892 state:committed]
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | | |
Use the hash condition for find instead.
|
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1865 state:committed]
|
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Tarmo Tänav <tarmo@itech.ee>
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1877 state:committed]
|
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1861 state:committed]
|
| | |
| | |
| | |
| | | |
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
|
| |/ |
|
| | |
|
| |
| |
| |
| |
| | |
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1057 state:committed]
|
| |
| |
| |
| |
| |
| |
| |
| | |
ActionPack
Signed-Off-By: Michael Koziarski <michael@koziarski.com>
[#1202 state:committed]
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
actionpack/lib/action_controller/base.rb
actionpack/lib/action_dispatch/http/mime_type.rb
actionpack/lib/action_dispatch/http/request.rb
actionpack/lib/action_view/base.rb
actionpack/lib/action_view/paths.rb
actionpack/test/controller/session/cookie_store_test.rb
actionpack/test/dispatch/rack_test.rb
actionpack/test/dispatch/request_test.rb
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
id (:id => true in the create_table) if an :id column is present, even if it isn't a primary_key.
This fix sets :id => false if there is an :id column, but it's not the primary_key.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1766 state:committed]
|
| |
| |
| |
| |
| |
| | |
state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
| |
| |
| |
| | |
[Carlos Júnior]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The 'reconenct' boolean option is read from the connection specification
and is used to set the reconnect attribute of Mysql. The default is
false in order not to change existing application behaviour.
Also, reconnect is set AFTER real_connect is called, so its value sticks
(the mysql gem sets reconnect to false inside real_connect).
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1797 state:committed]
|
|/ |
|
|
|
|
|
|
| |
#all?
[#1686 state:committed]
|
| |
|
| |
|
|
|
|
|
| |
This avoids repeatedly calling SHOW COLUMNS when the association is queried
[#1738 state:committed]
|
|
|
|
|
|
|
|
| |
object [#1079 state:resolved]
If foreign key constraints are in place then deleteing the associated object first will cause a foreign key violation
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
|
|
|
|
|
|
|
| |
canceled or before_update was canceled
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1735 state:committed]
|
|
|
|
|
|
|
| |
columns, NULL gets stored in database for blank (i.e. '') values. Only integer columns were considered.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1692 state:committed]
|
|
|
|
|
|
|
|
| |
'postgres' driver.
[#1748 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
|
|
|
|
|
| |
state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
|
|
|
|
|
| |
can't joined, a new savepoint is required even if :requires_new is not set. Use :requires_new option instead of :nest. Update changelog.
[#383 state:committed]
|
|\ |
|