- 25 4月, 2013 20 次提交
-
-
由 Andrew White 提交于
This commit adds support for passing additional url options along with a :status option and any of the flash-related options to `redirect_to` (i.e. :flash, :alert & :notice). Closes #7570.
-
由 Andrew White 提交于
The `force_ssl` command now builds the redirect url from `request.fullpath`. This ensures that the format is maintained and it doesn't redirect to a route that has the same parameters but is defined earlier in `routes.rb`. Also any optional segments are maintained. Fixes #7528. Fixes #9061. Fixes #10305.
-
由 Carlos Antonio da Silva 提交于
-
由 Rafael Mendonça França 提交于
Move method used only in the test to the test code itself
-
由 Carlos Antonio da Silva 提交于
-
由 Ivan Kataitsev 提交于
-
由 Rafael Mendonça França 提交于
refactor number helper
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
It's simpler to assume that passed env is just a string without any extensions, especially when DatabaseTasks are intended to be used also without rails.
-
由 Vipul A M 提交于
-
由 Rafael Mendonça França 提交于
Serialized column should not be wrapped twice. Fix #10067.
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
This is a public class, which could be used directly in order to allow easier database management. Now it also contains settings, which will be used by databases.rake.
-
由 Piotr Sarnacki 提交于
This will allow to set fixtures path in global config easier, it should be not needed to use FIXTURES_PATH every time user wants to load fixtures.
-
由 kennyj 提交于
-
由 Dan Erikson 提交于
This fixes issue #10066
-
由 Guillermo Iguaran 提交于
Remove code duplication
-
由 Neeraj Singh 提交于
-
由 Rafael Mendonça França 提交于
Moved the check for the rails test environment into rails.rb Closes #10238
-
- 24 4月, 2013 12 次提交
-
-
由 Andrew White 提交于
Trying to lookup the parent class when the association is being built runs the risk of generating uninitialized constant errors because classes haven't been fully defined yet. To work around this we look up the class at runtime through the `association` method. Fixes #10197.
-
由 Andrew White 提交于
-
由 Andrew White 提交于
-
由 Adam Gamble 提交于
-
由 Andrew White 提交于
Revert "Revert "`belongs_to :touch` behavior now touches old association when transitioning to new association" until a proper fix is found for #10197" This reverts commit 7389df13. Conflicts: activerecord/test/cases/timestamp_test.rb
-
由 Piotr Sarnacki 提交于
-
由 Xavier Noria 提交于
fixed missing comma in example
-
由 Ilya Vorontsov 提交于
-
由 Andrew White 提交于
-
由 wangjohn 提交于
can select frameworks separately when running rake test.
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
Revert "`belongs_to :touch` behavior now touches old association when transitioning to new association" until a proper fix is found for #10197
-
- 23 4月, 2013 8 次提交
-
-
由 Rafael Mendonça França 提交于
ActiveRecord having clause bug fix
-
由 Guillermo Iguaran 提交于
refactor initialization of array
-
由 Vipul A M 提交于
-
由 Fyodor 提交于
-
由 Andrew White 提交于
The changes in b79adc43 had a bug where if the time in the String was in standard time but the current time was in daylight savings then the calculated adjustment was off by an hour. This commit fixes this and adds extra tests for the following: * time in string is standard time, current time is standard time * time in string is standard time, current time is daylight savings * time in string is daylight savings, current time is standard time * time in string is daylight savings, current time is daylight savings Fixes #10306.
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Andrew White 提交于
extract arrays to constants in Mapper
-