Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Set eager load option in "make_basic_app" for railties tests | Carlos Antonio da Silva | 2012-08-21 | 1 | -0/+1 | |
| | | | | Avoid output with config option not set when running some tests. | |||||
* | Allow users to choose when to eager_load the application or not. | José Valim | 2012-08-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | Previously, the eager load behavior was mostly coupled to config.cache_classes, however this was suboptimal since in some environments a developer may want to cache classes but not necessarily load them all on boot (for example, test env). This pull request also promotes the use of config.eager_load set to true by default in production. In the majority of the cases, this is the behavior you want since it will copy most of your app into memory on boot (which was also the previous behavior). Finally, this fix a long standing Rails bug where it was impossible to access a model in a rake task when Rails was set as thread safe. | |||||
* | remove some artifacts of dependent_restrict_raises that I missed | Jon Leighton | 2012-08-10 | 1 | -1/+0 | |
| | ||||||
* | Remove unnecessary Railties structure now that plugins are gone | José Valim | 2012-06-29 | 1 | -11/+5 | |
| | ||||||
* | run railties tests in parallel, default to 2 cores | Aaron Patterson | 2012-06-19 | 1 | -2/+0 | |
| | ||||||
* | join any extra args to the tmp path | Aaron Patterson | 2012-06-19 | 1 | -0/+1 | |
| | ||||||
* | expand the tmpdir to the realpath so tests on OS X pass | Aaron Patterson | 2012-06-19 | 1 | -1/+1 | |
| | ||||||
* | use system tmpdir rather than our own | Aaron Patterson | 2012-06-19 | 1 | -8/+11 | |
| | ||||||
* | Remove useless load path modifications | Santiago Pastorino | 2012-05-11 | 1 | -3/+2 | |
| | ||||||
* | Remove Declarative module extending, it is already part of AS::TestCase | Carlos Antonio da Silva | 2012-04-28 | 1 | -2/+0 | |
| | | | | Removes method redefined warning. | |||||
* | Initial queue implementation | Yehuda Katz | 2012-04-26 | 1 | -1/+1 | |
| | ||||||
* | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964 | |||||
* | Fix scaffold controller template, ensure rake scaffold test pass by default | Carlos Antonio da Silva | 2012-03-14 | 1 | -1/+6 | |
| | ||||||
* | Remove Active Resource source files from the repository | Prem Sichanugrist | 2012-03-13 | 1 | -2/+1 | |
| | | | | | | | | | | Dear Active Resource, It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository. I will miss you, @sikachu. | |||||
* | Only add the whitelist_attributes option if ActiveRecord is present | Rafael Mendonça França | 2012-03-04 | 1 | -1/+4 | |
| | ||||||
* | Remove the dependent_restrict_raises configuration if activerecord is | Rafael Mendonça França | 2012-02-01 | 1 | -1/+1 | |
| | | | | not preset | |||||
* | require minitest rather than test/unit | Aaron Patterson | 2012-01-06 | 1 | -1/+1 | |
| | ||||||
* | convert railties to use AS::TestCase | Aaron Patterson | 2012-01-05 | 1 | -1/+2 | |
| | ||||||
* | Rails::Plugin has gone | Santiago Pastorino | 2012-01-03 | 1 | -14/+0 | |
| | ||||||
* | `rake assets:precompile` loads the application but does not initialize it. | José Valim | 2011-09-24 | 1 | -0/+9 | |
| | | | | | | | | | | | | | To the app developer, this means configuration add in config/initializers/* will not be executed. Plugins developers need to special case their initializers that are meant to be run in the assets group by adding :group => :assets. Conflicts: railties/CHANGELOG railties/test/application/assets_test.rb | |||||
* | Use the proper executable on tests. | José Valim | 2011-09-12 | 1 | -1/+1 | |
| | ||||||
* | Create an :assets group in the Gemfile. | José Valim | 2011-06-21 | 1 | -0/+4 | |
| | | | | | | | | | This group is required by default only on development and test (you can change it on config/application.rb). `rake assets:precompile` will automatically add the assets group to Rails.groups (and consequently Bundler.require) and should work transparently. | |||||
* | Merge pull request #1356 from flippingbits/fix_engine_generator | José Valim | 2011-06-09 | 1 | -1/+1 | |
|\ | | | | | Fix engine's generator | |||||
| * | Use RAILS_ISOLATED_ENGINE and fix namespaced generators tests | Stefan Sprenger | 2011-06-07 | 1 | -1/+1 | |
| | | ||||||
| * | Don't create full Rails application if RAILS_ISOLATION_COMMAND equals engine | Stefan Sprenger | 2011-06-07 | 1 | -1/+1 | |
| | | ||||||
* | | Fix another CIfail :zap: :fire: Deleting RAILS_ENV from ENV doesn't produce ↵ | Jon Leighton | 2011-06-06 | 1 | -1/+2 | |
| | | | | | | | | 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. | |||||
* | | Solve the RAILS_ENV problem in the railties tests in a more generic way | Jon Leighton | 2011-06-06 | 1 | -0/+6 | |
|/ | ||||||
* | Require rubygems (chill out, just for rails internal tests). | José Valim | 2011-05-23 | 1 | -0/+1 | |
| | ||||||
* | No more need rubygems here. | Arun Agrawal | 2011-05-22 | 1 | -2/+0 | |
| | ||||||
* | Add some very simple docs. | José Valim | 2011-04-15 | 1 | -0/+3 | |
| | ||||||
* | Simplify remove_from_config. | Emilio Tagua | 2010-11-19 | 1 | -9/+5 | |
| | ||||||
* | Enable IdentityMap when generating new apps. | Emilio Tagua | 2010-11-19 | 1 | -0/+12 | |
| | ||||||
* | Fix a routing test. Reorganize middleware tests. | José Valim | 2010-10-02 | 1 | -0/+27 | |
| | ||||||
* | Fix running engine_test in isolation | Piotr Sarnacki | 2010-09-19 | 1 | -0/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Create a deprecation behavior that triggers a notification for deprecation ↵ | wycats | 2010-06-29 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | notices, and make the behaviors independent of the environment names. * In Rails 2.3 apps being upgraded, you will need to add the deprecation configuration to each of your environments. Failing to do so will result in the same behavior as Rails 2.3, but with an outputted warning to provide information on how to set up the setting. * New Rails 3 applications generate the setting * The notification style will send deprecation notices using ActiveSupport::Notifications. Third-party tools can listen in to these notifications to provide a streamlined view of the deprecation notices occurring in your app. * The payload in the notification is the deprecation warning itself as well as the callstack from the point that triggered the notification. | |||||
* | Add delete to middleware stack proxy. | José Valim | 2010-06-07 | 1 | -1/+1 | |
| | ||||||
* | Refactor tests by moving all middleware tests to the same place. | José Valim | 2010-04-26 | 1 | -0/+19 | |
| | ||||||
* | moved rails binary to rails gem, so rubygems can find specific versions of ↵ | Felipe Rodrigues | 2010-04-12 | 1 | -1/+1 | |
| | | | | | | rails [#4382 state:resolved] Signed-off-by: wycats <wycats@gmail.com> | |||||
* | Rename config.cookie_secret to config.secret_token and pass it as ↵ | José Valim | 2010-04-05 | 1 | -1/+1 | |
| | | | | configuration in request.env. This is another step forward removing global configuration. | |||||
* | Deprecated ActionController::Base.session_options= and ↵ | Carlhuda | 2010-03-04 | 1 | -1/+1 | |
| | | | | ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings. | |||||
* | Fix Sam Ruby's tests and deprecation warnings | Carlhuda | 2010-03-04 | 1 | -1/+1 | |
| | ||||||
* | Revert "Fix test load paths for those not using bundler" | Carlhuda | 2010-02-23 | 1 | -4/+10 | |
| | | | | | | This reverts commit eec2d301d4ce9df9c71c1a5aa63053eb970b6818. This commit broke tests. You cannot have a file called "bundler" on the load path. | |||||
* | Fix test load paths for those not using bundler | Joshua Peek | 2010-02-15 | 1 | -10/+4 | |
| | ||||||
* | fix usage examples and more to use new invocations | RomD | 2010-02-06 | 1 | -1/+1 | |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | |||||
* | Remove the generated gemfile in railties tests since the rails gemfile is used. | Carl Lerche | 2010-02-02 | 1 | -0/+4 | |
| | ||||||
* | Get rails tests running on bundler 0.9 | Carl Lerche | 2010-01-31 | 1 | -19/+7 | |
| | ||||||
* | Add tests for explicit engines. | José Valim | 2010-01-26 | 1 | -0/+21 | |
| | ||||||
* | Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rb | Carl Lerche | 2009-12-31 | 1 | -1/+1 | |
| | ||||||
* | tests pass with requiring the frameworks in rails.rb | Carlhuda | 2009-12-23 | 1 | -0/+8 | |
| | ||||||
* | Blog -> Blog::Application. Leave the toplevel module up for grabs. | Jeremy Kemper | 2009-12-21 | 1 | -1/+1 | |
| |