aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
Commit message (Collapse)AuthorAgeFilesLines
* Fix assets tests in railtiesJon Leighton2011-08-161-4/+4
|
* Fix typoSantiago Pastorino2011-08-151-1/+1
|
* rake assets:precompile executes in production environment as default if ↵Santiago Pastorino2011-08-151-7/+19
| | | | RAILS_ENV was not provided
* Merge branch 'master' of github.com:lifo/docrailsXavier Noria2011-08-131-0/+8
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: RELEASING_RAILS.rdoc actionpack/lib/sprockets/railtie.rb actionpack/test/template/sprockets_helper_test.rb activerecord/test/cases/calculations_test.rb railties/guides/source/3_1_release_notes.textile railties/guides/source/active_resource_basics.textile railties/guides/source/command_line.textile
| * Merge pull request #2324 from zenapsis/3-1-stableSantiago Pastorino2011-08-131-0/+14
| | | | | | | | Rails 3.1 throws a Errno::ENOTDIR if files are put in assets directories
| * Check that Rack::Sendfile is not included unless ↵Santiago Pastorino2011-08-131-0/+8
| | | | | | | | config.action_dispatch.x_sendfile_header is set
* | Merge pull request #2448 from igrigorik/masterJoshua Peek2011-08-081-1/+1
|\ \ | | | | | | Asset pipeline fixes: clear out tmp cache and use environment in digest generation
| * | Clear out tmp/cache when assets:clean is invoked.Ilya Grigorik2011-08-041-1/+1
| | | | | | | | | | | | | | | | | | Otherwise, if bad data is cached in tmp/clear then the next invocation of assets:precompile (or a regular incoming request) will pickup files from tmp without regenerating them from source.
* | | x_sendfile_header now defaults to nil and production.rb env file doesn'tSantiago Pastorino2011-08-072-9/+2
|/ / | | | | | | | | | | | | set a particular value for it. This allows servers to set it through X-Sendfile-Type, read https://github.com/rack/rack/blob/master/lib/rack/sendfile.rb for more info. Anyways you can force this value in your production.rb
* | Merge pull request #2324 from zenapsis/3-1-stableSantiago Pastorino2011-08-011-0/+14
| | | | | | | | Rails 3.1 throws a Errno::ENOTDIR if files are put in assets directories
* | Check that Rack::Sendfile is not included unless ↵Santiago Pastorino2011-07-261-0/+8
|/ | | | config.action_dispatch.x_sendfile_header is set
* provide more explicit test namesDamien Mathieu2011-07-251-2/+2
|
* add test checking that precompiling assets performs cachingDamien Mathieu2011-07-251-1/+11
|
* Improve formatting of route to Rack application in rake routes.Hendy Tanata2011-07-171-0/+21
| | | | | | | | | | This route: match 'foo/:id' => RackApp, :id => /[A-Z]\d{5}/ is shown as: /foo/:id(.:format) RackApp {:id=>/[A-Z]\d{5}/}
* Better formatting of route requirements in rake:routes.Hendy Tanata2011-07-161-2/+65
| | | | | | | | | | Previously it was: {:controller=>"photos", :action=>"show", :id=>/[A-Z]\d{5}/} Now it becomes: photos#show {:id=>/[A-Z]\d{5}/}
* assets.cache_store now defaults to filesystem. You will want to share ↵José Valim2011-07-121-1/+0
| | | | tmp/assets_cache between deploys.
* Rails.application#env_config is now public API. [Closes #1924]Franck Verrot2011-07-111-0/+9
|
* Make Rails.groups accept arrays.José Valim2011-07-101-1/+1
|
* Don't raise on mass assignment for testJosé Valim2011-07-071-6/+15
|
* Make compressors lazily load.José Valim2011-07-061-0/+11
|
* Now accepting css/js files in deeper directory structures by default.Tobias Schlottke2011-07-011-4/+7
| | | | | This is useful for engines with own application.{js|css}-files. See: https://github.com/rails/rails/issues/1520
* Add test to rake test for error messagesWen-Tien Chang2011-06-301-0/+26
|
* Railties: added tests for rake assets:cleanJames A. Rosen2011-06-211-0/+14
|
* Create an :assets group in the Gemfile.José Valim2011-06-211-1/+13
| | | | | | | | | 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.
* Add Rails.groups to encapsulate available groups for require.José Valim2011-06-211-0/+15
|
* Make i18n tests more robust.José Valim2011-06-121-3/+3
|
* make 'rails runner' show usage when run without any optionsVijay Dev2011-06-101-0/+4
|
* Fix double definition of #teardown. Thanks @mike-burns :+1:Jon Leighton2011-06-061-3/+0
|
* Solve the RAILS_ENV problem in the railties tests in a more generic wayJon Leighton2011-06-0625-19/+89
|
* Fix for CI server. Dependent on RAILS_ENV=developmentArun Agrawal2011-06-061-0/+6
|
* 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
|
* 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.
* Use load_generators instead.José Valim2011-05-251-4/+2
|
* Removing deprecated config.paths.app.controller APIGuillermo Iguaran2011-05-241-1/+1
|
* Fixed failing tests for generators_testArun Agrawal2011-05-251-2/+2
|
* Everyone receives app as argument for consistency.José Valim2011-05-251-3/+4
|
* Parenthesize arguments when the first one is a Regexp literal.Sebastian Martinez2011-05-233-13/+13
| | | | This fixes 'warning: ambiguous first argument; put parentheses or even spaces'.
* Replace references to ActiveSupport::SecureRandom with just SecureRandom, ↵Jon Leighton2011-05-231-2/+2
| | | | and require 'securerandom' from the stdlib when active support is required.
* Move content length to the server, this brings the same behavior as in rack 1.2.José Valim2011-05-231-7/+6
|
* Temporarily ship with ContentLength middleware.José Valim2011-05-201-3/+3
|
* Use Rack::ContentLength.José Valim2011-05-191-5/+6
|
* Ensure Set-Cookie is not set on assets.José Valim2011-05-171-24/+25
|
* Add a test case for issue #476.José Valim2011-05-171-0/+31
|
* Fixes failing test, closes #1098.José Valim2011-05-171-1/+1
|
* Merge pull request #507 from dlee/fix_identity_map_testsJosé Valim2011-05-102-2/+2
|\ | | | | Fix tests to reflect IdentityMap no longer default
| * Fix tests to reflect IdentityMap no longer defaultDavid Lee2011-05-102-2/+2
| | | | | | | | Broke in 0e1dcae1857db4f6721561caff38d8be748d0b40
* | Test csrf token param name customizationDavid Lee2011-05-101-2/+15
|/
* prepend the assets route instead of appending, closes #436José Valim2011-05-082-2/+29
|