- 07 6月, 2011 14 次提交
-
-
-
由 Vijay Dev 提交于
-
由 Jon Leighton 提交于
Don't ensure all keys in build_results are only written once, otherwise we get false positive builds reported.
-
由 Jon Leighton 提交于
-
-
由 Xavier Noria 提交于
This reverts commit 79990505. Conflicts: activerecord/CHANGELOG Reason: Sorry, CHANGELOGs can't be edited via docrails.
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Fix another CIfail
⚡ 🔥 Deleting RAILS_ENV from ENV doesn't produce the desired result if RACK_ENV is still defined. And in any case it's better to be explicit here, so just set RALS_ENV=development. -
由 Aaron Patterson 提交于
-
由 David Heinemeier Hansson 提交于
-
- 06 6月, 2011 12 次提交
-
-
由 Jon Leighton 提交于
-
由 José Valim 提交于
Fix for CI server. Dependent on RAILS_ENV=development
-
由 Arun Agrawal 提交于
-
由 Mariusz Pękala 提交于
The guide was contracting itself. First it stated that 'there is a list of callbacks in order of execution', on the list 'after_save' was placed before 'after_create', and then there was a warning that 'after_save' runs after them. I am not sure about 'around_' callbacks, but let's leave that for another patch.
-
由 José Valim 提交于
framework_test.rb also dependent on RAILS_ENV=development
-
由 Mohammad Typaldos 提交于
-
由 Vijay Dev 提交于
-
由 Arun Agrawal 提交于
-
由 Arun Agrawal 提交于
-
由 Jon Leighton 提交于
-
由 Vijay Dev 提交于
-
- 05 6月, 2011 14 次提交
-
-
由 Guillermo Iguaran 提交于
-
由 Andrew White 提交于
-
由 Andrew White 提交于
This commit restores the ability to assign cookies for testing via @request.env['HTTP_COOKIE'] and @request.cookies, e.g: @request.env['HTTP_COOKIE'] = 'user_name=david' get :index assert_equal 'david', cookies[:user_name] and @request.cookies[:user_name] = 'david' get :index assert_equal 'david', cookies[:user_name] Assigning via cookies[] is the preferred method and will take precedence over the other two methods. This is so that cookies set in controller actions have precedence and are carried over between calls to get, post, etc.
-
由 Andrew White 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 José Valim 提交于
sprockets gem update to beta9
-
由 José Valim 提交于
Test added for namedscope target.
-
由 José Valim 提交于
Allow multiple sources in Sprockets helpers
-
由 Guillermo Iguaran 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
-
由 Jon Leighton 提交于
Force RAILS_ENV=development in rackup_test.rb. This fixes a problem on the CI server. For some reason the RAILS_ENV on the CI server is production, which means that the ActionDispatch::Static middleware is not used, and so the request in 'config.ru can be racked up' returns a 404 rather than a 200.
-