Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix for CI server. Dependent on RAILS_ENV=development | Arun Agrawal | 2011-06-06 | 1 | -0/+6 |
| | |||||
* | Merge pull request #1497 from arunagw/framework_test | José Valim | 2011-06-06 | 2 | -0/+12 |
|\ | | | | | framework_test.rb also dependent on RAILS_ENV=development | ||||
| * | loading_test.rb with RAILS_ENV=development | Arun Agrawal | 2011-06-06 | 1 | -0/+6 |
| | | |||||
| * | framework_test.rb also dependent on RAILS_ENV=development | Arun Agrawal | 2011-06-06 | 1 | -0/+6 |
|/ | |||||
* | load_path_test.rb is also dependent on RAILS_ENV=development | Jon Leighton | 2011-06-05 | 1 | -0/+6 |
| | |||||
* | Move CHANGELOG entry to future version | Andrew White | 2011-06-05 | 1 | -1/+4 |
| | |||||
* | Add backward compatibility for testing cookies | Andrew White | 2011-06-05 | 4 | -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 strings | Andrew White | 2011-06-05 | 2 | -2/+12 |
| | |||||
* | Fix adapter_test.rb to make no assumptions about the database name | Jon Leighton | 2011-06-05 | 2 | -4/+16 |
| | |||||
* | Fix typo | Jon Leighton | 2011-06-05 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1426 from arunagw/sprockets_gem_update | José Valim | 2011-06-05 | 1 | -1/+1 |
|\ | | | | | sprockets gem update to beta9 | ||||
| * | sprockets gem update to beta9 | Arun Agrawal | 2011-05-31 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1462 from arunagw/test_added_for_namedscope | José Valim | 2011-06-05 | 3 | -1/+14 |
|\ \ | | | | | | | Test added for namedscope target. | ||||
| * | | Test added for namedscope target. | Arun Agrawal | 2011-06-03 | 3 | -1/+14 |
| | | | |||||
* | | | Merge pull request #1488 from guilleiguaran/multiple_sources_in_sprocket_helpers | José Valim | 2011-06-05 | 4 | -28/+40 |
|\ \ \ | | | | | | | | | Allow multiple sources in Sprockets helpers | ||||
| * | | | Allow multiple sources in Sprockets helpers | Guillermo Iguaran | 2011-06-05 | 4 | -28/+40 |
|/ / / | |||||
* | | | Bring back oracle specific crap | Jon Leighton | 2011-06-04 | 1 | -0/+6 |
| | | | |||||
* | | | Refactor Active Record test connection setup. Please see the ↵ | Jon Leighton | 2011-06-04 | 166 | -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 Leighton | 2011-06-04 | 1 | -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 team | Xavier Noria | 2011-06-05 | 2 | -8/+12 |
| | | | | | | | | | | | | See http://weblog.rubyonrails.org/2011/6/2/news-from-the-documentation-front | ||||
* | | | move Ryan up, since the list is ordered by surname | Xavier Noria | 2011-06-04 | 1 | -4/+4 |
| | | | |||||
* | | | adds Ryan Bigg to the credits page of the guides, he is the author of the ↵ | Xavier Noria | 2011-06-04 | 2 | -0/+4 |
| | | | | | | | | | | | | new configuring guide | ||||
* | | | specify image dimensions for pictures in the guides credits page | Xavier Noria | 2011-06-04 | 1 | -1/+1 |
| | | | |||||
* | | | Add missing require for cookies middleware | Andrew White | 2011-06-04 | 1 | -0/+1 |
| | | | |||||
* | | | Refactor ActionController::TestCase cookies | Andrew White | 2011-06-04 | 8 | -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_1467 | José Valim | 2011-06-03 | 0 | -0/+0 |
|\ \ \ | | | | | | | | | Double assignment of attributes on a collection association occurs fixed #1467 | ||||
| * | | | Double assignment of attributes on a collection association occurs fixed for ↵ | Raghunadh | 2011-06-03 | 1 | -1/+0 |
| |/ / | | | | | | | | | | the issue issue #1467 | ||||
* / / | Don't double assign attributes - closes #1467. | Andrew White | 2011-06-03 | 1 | -1/+0 |
|/ / | |||||
* | | Fix broken test. You know, the merge button will be the end of us... | Jon Leighton | 2011-06-01 | 1 | -3/+3 |
| | | |||||
* | | Merge pull request #1447 from dmathieu/empty_route | Piotr Sarnacki | 2011-06-01 | 2 | -1/+9 |
|\ \ | | | | | | | Fix creating an empty route on 1.8. Closes #1210 | ||||
| * | | fix creating an empty route on 1.8. Closes #1210 | Damien Mathieu | 2011-06-01 | 2 | -1/+9 |
| | | | |||||
* | | | Merge pull request #1385 from smartinez87/drop | Aaron Patterson | 2011-06-01 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | #drop_table accepts no options now. | ||||
| * | | | #drop_table accepts no options now. | Sebastian Martinez | 2011-05-28 | 1 | -1/+1 |
| | | | | |||||
* | | | | Adding comment | Arun Agrawal | 2011-06-01 | 1 | -0/+1 |
| | | | | |||||
* | | | | AttributeMethodTest test fix #jruby | Vishnu Atrai | 2011-06-01 | 1 | -1/+5 |
| | | | | |||||
* | | | | Fix issue #1272 | Brian Mathiyakom | 2011-06-01 | 4 | -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_require | José Valim | 2011-06-01 | 1 | -0/+2 |
|\ \ \ \ | |_|/ / |/| | | | Require attr_internal before using in ActionView::Helpers | ||||
| * | | | Require attr_internal before using in ActionView::Helpers | Ernie Miller | 2011-06-01 | 1 | -0/+2 |
| | | | | |||||
* | | | | Merge pull request #1441 from guilleiguaran/no_rb_require | José Valim | 2011-06-01 | 2 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | Don't add .rb in requires | ||||
| * | | | | Don't add .rb in requires | Guillermo Iguaran | 2011-05-31 | 2 | -2/+2 |
| | | | | | |||||
* | | | | | Add missing require to fix the CI | Jon Leighton | 2011-06-01 | 1 | -0/+1 |
| | | | | | |||||
* | | | | | Merge pull request #1439 from sikachu/isolated_pg_test | Aaron Patterson | 2011-05-31 | 2 | -20/+29 |
|\ \ \ \ \ | |/ / / / |/| | | | | Isolated PostgreSQL test into PostgreSQL folder | ||||
| * | | | | Isolated PostgreSQL test into PostgreSQL folder | Prem Sichanugrist | 2011-05-31 | 2 | -20/+29 |
|/ / / / | |||||
* | | | | Raise NameError instead of ArgumentError in ActiveSupport::Dependencies | Andrew White | 2011-06-01 | 5 | -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 Kalderimis | 2011-06-01 | 4 | -10/+27 |
| | | | | | | | | | | | | | | | | issue where the collection proxies were not consistent | ||||
* | | | | Make MemCacheStore work with Ruby 1.9 and -Ku | Andrew White | 2011-05-31 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #1434 from dmathieu/mass_assignment | José Valim | 2011-05-31 | 1 | -1/+2 |
|\ \ \ \ | | | | | | | | | | | Mass assignment | ||||
| * | | | | no need for .rb | Damien Mathieu | 2011-05-31 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | string inflections are needed for running tests in isolation | Damien Mathieu | 2011-05-31 | 1 | -0/+1 |
| | | | | | |||||
* | | | | | Revert "[activerecord][postgresql] verify if table has a schema(not ↵ | Jon Leighton | 2011-05-31 | 1 | -5/+6 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | public)". This caused a test breakage. See #1410 for details. This reverts commit c44418ea4e09cc81da47edbc9ac5f31c7e32c1b4. |