aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* assets:precompile should not append asset digests when config.assets.digest ↵Sam Pohlenz2011-09-011-0/+26
| | | | is false
* Merge pull request #2780 from guilleiguaran/assets-pipeline-minor-changesSantiago Pastorino2011-08-311-0/+13
| | | | Assets pipeline: fix in manifest location and remove unused code
* should be using a / in this route rather than a #Aaron Patterson2011-08-311-1/+1
|
* Fix asset debugging tests to reflect last changes in 3-1-stableGuillermo Iguaran2011-08-311-9/+18
|
* Set default location of manifest with config.assets.manifestGuillermo Iguaran2011-08-311-0/+17
|
* Backport f443f9cb0c64 to masterGuillermo Iguaran2011-08-311-16/+16
|
* Read digests of assets from manifest.yml if config.assets.manifest is onGuillermo Iguaran2011-08-311-0/+65
|
* Fix failing asset debug test under 1.8Guillermo Iguaran2011-08-251-1/+1
|
* Move asset debugging tests into a separate test caseDaniel Schierbeck2011-08-252-42/+56
| | | | | | | Also: - Refactor AssetDebuggingTest. - Use the %r regexp syntax. That way we don't need to escape the /'s.
* Add config.allow_debugging option to determine if the debug_assets query ↵Guillermo Iguaran2011-08-241-0/+42
| | | | param can be passed by user
* Merge pull request #2390 from arunagw/test_for_environment_fileSantiago Pastorino2011-08-241-0/+9
|\ | | | | Test added to check development.rb, test.rb and production.rb content
| * Test added to check mass_assignment_sanitizer is not present if ↵Arun Agrawal2011-08-031-0/+9
| | | | | | | | --skip-active-record provided.
* | Merge pull request #2620 from cesario/3-1-0Santiago Pastorino2011-08-211-1/+1
| | | | | | | | Fix CI and rename 1 misleading test case.
* | 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
| * | Covering more files in test for plugin new generator.Vishnu Atrai2011-08-131-0/+2
| | |
| * | Test add for plugin new generator generate mailerArun Agrawal2011-08-131-4/+5
| | |
| * | pluging generator test fixVishnu Atrai2011-08-131-8/+8
| | |
| * | 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
* | Covering more files in test for plugin new generator. Vishnu Atrai2011-07-291-0/+2
| |
* | Test add for plugin new generator generate mailerArun Agrawal2011-07-291-4/+5
| |
* | pluging generator test fixVishnu Atrai2011-07-281-8/+8
| |
* | 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
|
* Merge pull request #2247 from dmathieu/test_precompile_cachingJosé Valim2011-07-251-1/+11
|\ | | | | Add test checking that precompiling assets performs caching
| * add test checking that precompiling assets performs cachingDamien Mathieu2011-07-251-1/+11
| |
* | Make polymorphic_url calls go through application helpers again.thedarkone2011-07-251-0/+19
|/ | | | This brings back the ability to overwrite/extend url generating methods in application heleprs.
* Merge pull request #2116 from guilleiguaran/fix-environment-generator-actionSantiago Pastorino2011-07-181-0/+7
|\ | | | | Fix Rails::Generators::Actions#environment when env is passed
| * Fix Rails::Generators::Actions#environment when env is passed. Closes #2110Guillermo Iguaran2011-07-181-0/+7
| |
* | As we are adding db folder in it. Required in test also.Arun Agrawal2011-07-171-1/+1
|/
* 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}/}
* Use cache/assets instead.José Valim2011-07-121-1/+1
|
* assets.cache_store now defaults to filesystem. You will want to share ↵José Valim2011-07-122-1/+1
| | | | tmp/assets_cache between deploys.
* Generate valid default fixtures for models with a type columnMarc-Andre Lafortune2011-07-111-0/+5
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* 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
|
* Ensure the engine_path is there (it may make CI happy).José Valim2011-07-061-1/+1
|
* Make compressors lazily load.José Valim2011-07-061-0/+11
|
* Merge pull request #1926 from tobsch/masterSantiago Pastorino2011-07-061-4/+7
|\ | | | | Accept application.js/.css to exist in a deeper directory depth by default
| * 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
* | fix engines rake tasksJake Varghese2011-07-041-0/+8
| |