aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use Latest Sprockets betaDavid Heinemeier Hansson2011-06-061-1/+1
|
* Solve the RAILS_ENV problem in the railties tests in a more generic wayJon Leighton2011-06-0631-22/+117
|
* Merge pull request #1504 from arunagw/console_test_for_ci_serverJosé Valim2011-06-061-0/+6
|\ | | | | Fix for CI server. Dependent on RAILS_ENV=development
| * Fix for CI server. Dependent on RAILS_ENV=developmentArun Agrawal2011-06-061-0/+6
|/
* Merge pull request #1497 from arunagw/framework_testJosé Valim2011-06-062-0/+12
|\ | | | | framework_test.rb also dependent on RAILS_ENV=development
| * loading_test.rb with RAILS_ENV=developmentArun Agrawal2011-06-061-0/+6
| |
| * framework_test.rb also dependent on RAILS_ENV=developmentArun Agrawal2011-06-061-0/+6
|/
* load_path_test.rb is also dependent on RAILS_ENV=developmentJon Leighton2011-06-051-0/+6
|
* Move CHANGELOG entry to future versionAndrew White2011-06-051-1/+4
|
* Add backward compatibility for testing cookiesAndrew White2011-06-054-5/+65
| | | | | | | | | | | | | | | | | | | 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.
* Ensure cookie keys are stringsAndrew White2011-06-052-2/+12
|
* Fix adapter_test.rb to make no assumptions about the database nameJon Leighton2011-06-052-4/+16
|
* Fix typoJon Leighton2011-06-051-1/+1
|
* Merge pull request #1426 from arunagw/sprockets_gem_updateJosé Valim2011-06-051-1/+1
|\ | | | | sprockets gem update to beta9
| * sprockets gem update to beta9 Arun Agrawal2011-05-311-1/+1
| |
* | Merge pull request #1462 from arunagw/test_added_for_namedscopeJosé Valim2011-06-053-1/+14
|\ \ | | | | | | Test added for namedscope target.
| * | Test added for namedscope target.Arun Agrawal2011-06-033-1/+14
| | |
* | | Merge pull request #1488 from guilleiguaran/multiple_sources_in_sprocket_helpersJosé Valim2011-06-054-28/+40
|\ \ \ | | | | | | | | Allow multiple sources in Sprockets helpers
| * | | Allow multiple sources in Sprockets helpersGuillermo Iguaran2011-06-054-28/+40
|/ / /
* | | Bring back oracle specific crapJon Leighton2011-06-041-0/+6
| | |
* | | Refactor Active Record test connection setup. Please see the ↵Jon Leighton2011-06-04166-571/+360
| | | | | | | | | | | | 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.
* | | Force RAILS_ENV=development in rackup_test.rb. This fixes a problem on the ↵Jon Leighton2011-06-041-0/+6
| | | | | | | | | | | | 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.
* | | adds Vijay Dev to the new Rails Guides Reviewers teamXavier Noria2011-06-052-8/+12
| | | | | | | | | | | | See http://weblog.rubyonrails.org/2011/6/2/news-from-the-documentation-front
* | | move Ryan up, since the list is ordered by surnameXavier Noria2011-06-041-4/+4
| | |
* | | adds Ryan Bigg to the credits page of the guides, he is the author of the ↵Xavier Noria2011-06-042-0/+4
| | | | | | | | | | | | new configuring guide
* | | specify image dimensions for pictures in the guides credits pageXavier Noria2011-06-041-1/+1
| | |
* | | Add missing require for cookies middlewareAndrew White2011-06-041-0/+1
| | |
* | | Refactor ActionController::TestCase cookiesAndrew White2011-06-048-65/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assigning cookies for test cases should now use cookies[], e.g: cookies[:email] = 'user@example.com' get :index assert_equal 'user@example.com', cookies[:email] To clear the cookies, use clear, e.g: cookies.clear get :index assert_nil cookies[:email] We now no longer write out HTTP_COOKIE and the cookie jar is persistent between requests so if you need to manipulate the environment for your test you need to do it before the cookie jar is created.
* | | Merge pull request #1468 from castlerock/fix_issue_1467José Valim2011-06-030-0/+0
|\ \ \ | | | | | | | | Double assignment of attributes on a collection association occurs fixed #1467
| * | | Double assignment of attributes on a collection association occurs fixed for ↵Raghunadh2011-06-031-1/+0
| |/ / | | | | | | | | | the issue issue #1467
* / / Don't double assign attributes - closes #1467.Andrew White2011-06-031-1/+0
|/ /
* | Fix broken test. You know, the merge button will be the end of us...Jon Leighton2011-06-011-3/+3
| |
* | Merge pull request #1447 from dmathieu/empty_routePiotr Sarnacki2011-06-012-1/+9
|\ \ | | | | | | Fix creating an empty route on 1.8. Closes #1210
| * | fix creating an empty route on 1.8. Closes #1210Damien Mathieu2011-06-012-1/+9
| | |
* | | Merge pull request #1385 from smartinez87/dropAaron Patterson2011-06-011-1/+1
|\ \ \ | | | | | | | | #drop_table accepts no options now.
| * | | #drop_table accepts no options now.Sebastian Martinez2011-05-281-1/+1
| | | |
* | | | Adding commentArun Agrawal2011-06-011-0/+1
| | | |
* | | | AttributeMethodTest test fix #jrubyVishnu Atrai2011-06-011-1/+5
| | | |
* | | | Fix issue #1272Brian Mathiyakom2011-06-014-10/+24
| | | | | | | | | | | | | | | | | | | | Set reverse_order_value when asked to reverse_order(). Do the actual reversal in build_arel.
* | | | Merge pull request #1448 from ernie/attr_internal_requireJosé Valim2011-06-011-0/+2
|\ \ \ \ | |_|/ / |/| | | Require attr_internal before using in ActionView::Helpers
| * | | Require attr_internal before using in ActionView::HelpersErnie Miller2011-06-011-0/+2
| | | |
* | | | Merge pull request #1441 from guilleiguaran/no_rb_requireJosé Valim2011-06-012-2/+2
|\ \ \ \ | | | | | | | | | | Don't add .rb in requires
| * | | | Don't add .rb in requiresGuillermo Iguaran2011-05-312-2/+2
| | | | |
* | | | | Add missing require to fix the CIJon Leighton2011-06-011-0/+1
| | | | |
* | | | | Merge pull request #1439 from sikachu/isolated_pg_testAaron Patterson2011-05-312-20/+29
|\ \ \ \ \ | |/ / / / |/| | | | Isolated PostgreSQL test into PostgreSQL folder
| * | | | Isolated PostgreSQL test into PostgreSQL folderPrem Sichanugrist2011-05-312-20/+29
|/ / / /
* | | | Raise NameError instead of ArgumentError in ActiveSupport::DependenciesAndrew White2011-06-015-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActiveSupport::Dependencies now raises NameError if it finds an existing constant in load_missing_constant. This better reflects the nature of the error which is usually caused by calling constantize on a nested constant. Closes #1423
* | | | added an alias for new to build to the AR collection proxy, this corrects an ↵Josh Kalderimis2011-06-014-10/+27
| | | | | | | | | | | | | | | | issue where the collection proxies were not consistent
* | | | Make MemCacheStore work with Ruby 1.9 and -KuAndrew White2011-05-311-1/+1
| | | |
* | | | Merge pull request #1434 from dmathieu/mass_assignmentJosé Valim2011-05-311-1/+2
|\ \ \ \ | | | | | | | | | | Mass assignment