| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1057 state:committed]
|
|
|
|
|
|
|
|
| |
ActionPack
Signed-Off-By: Michael Koziarski <michael@koziarski.com>
[#1202 state:committed]
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New connections:
jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb jdbcpostgresql
To test you will need the native database installed (if one is required),
activerecord-jdbc-adapter and the specific activerecord-jdbc<database>-adapter
for the database you are testing.
Run the tests like this:
jruby -S rake test_jdbcmysql
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1685 state:committed]
|
| |
|
| |
|
|
|
|
|
| |
This avoids repeatedly calling SHOW COLUMNS when the association is queried
[#1738 state:committed]
|
|
|
|
|
|
| |
state:resolved]
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
quote keys correctly
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
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]
|
|\ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
state:resolved]
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
like scoped_by_user_name(user_name) and scoped_by_user_name_and_password(user_name, password) that will use the scoped method with attributes you supply. [#1648 state:committed]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
|
| |/
| |
| |
| |
| |
| | |
nil) [#1219 state:committed]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With self referential associations, the scope for the the top level should not affect fetching of associations, for example
when doing
Person.male.find :all, :include => :friends
we should load all of the friends for each male, not just the male friends.
|
| |
| |
| |
| |
| |
| | |
state:resolved]
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
|
| |
| |
| |
| |
| |
| | |
[#1612 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
| |
| |
| |
| |
| |
| | |
scope [#1499 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
| |
| |
| |
| | |
state:resolved]
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
|
| |
| |
| |
| |
| |
| | |
state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
validations_test.rb [#674 state:resolved]
Many of the tests in validations_test would add a new validation to
models. However, only Topic was being reset with a fairly aggressive
clearing of all validations. None of the other models being used however
were recieving the same treatment. Now we use repair_validations(Topic)
for the whole test case because most test cases use Topic and then the
block form of repair_validations(<other_models>) inside any tests that use
other models.
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
| |
| |
| |
| |
| |
| | |
state:resolved]
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
|
| |
| |
| |
| | |
state:resolved]
|
| |
| |
| |
| | |
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
|
| |
| |
| |
| | |
[#1027 state:resolved]
|
| |
| |
| |
| | |
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
from_xml deserialization
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
| |/
| |
| |
| |
| |
| | |
[#1196 state:open]
This reverts commit 05f2183747c8e75c9e8bbaadb9573b4bdf41ecfc.
|
| |
| |
| |
| |
| |
| | |
[#1549 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
| |
| |
| |
| |
| |
| | |
[#1195 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
| |
| |
| |
| |
| |
| | |
[#1352 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
column is changed from 0 to '0'
[#1530 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
|\|
| |
| |
| |
| |
| | |
Conflicts:
activerecord/lib/active_record/fixtures.rb
activerecord/test/cases/defaults_test.rb
|
| |
| |
| |
| |
| |
| |
| | |
added to has_many and has_and_belongs_to_many associations.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1028 state:committed]
|