aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* Prem fixes 1.9 engine test issueDavid Heinemeier Hansson2011-04-261-1/+1
|
* jdbcpostgresql support added into template.Vishnu Atrai2011-04-261-0/+6
|
* Merged pull request #300 from arunagw/jdbc_test.Aaron Patterson2011-04-251-0/+12
|\ | | | | Start Adding jdbcmysql support to new rails template.
| * jdbcsqlite3 support added into template. #jrubyArun Agrawal2011-04-231-0/+6
| |
| * Start Adding jdbcmysql support to new rails template.Arun Agrawal2011-04-231-0/+6
| | | | | | More will come for jruby app.
* | Add Engine#helpers method which loads all the engine's helpersPiotr Sarnacki2011-04-251-0/+45
| |
* | Fix tests.José Valim2011-04-251-1/+1
| |
* | Add `app/assets/images` directory to plugin new generatorPrem Sichanugrist2011-04-251-0/+4
| |
* | added config.active_record.whitelist_attributes which creates an empty ↵Josh Kalderimis2011-04-241-0/+12
| | | | | | | | whitelist of attributes available for mass assignment for all models in your app
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-231-1/+1
|\ \ | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
| * | Fix 'FIXME' annotation typoSebastian Martinez2011-04-191-1/+1
| | |
* | | Use .erb in the test.José Valim2011-04-221-2/+2
| |/ |/|
* | Images path fixed in test.Arun Agrawal2011-04-231-1/+1
|/
* What a lovely surprise, controller_generator_test was also failing.José Valim2011-04-171-2/+2
|
* Fix more generator tests.José Valim2011-04-171-4/+4
|
* Fix assets generators.José Valim2011-04-171-16/+10
|
* Make generators more modular, add hooks and improve test suite.José Valim2011-04-172-31/+44
|
* Generate app/* stubs directories for full plugins to show ththat it is ↵José Valim2011-04-171-0/+6
| | | | possible to extend them.
* Fix plugin new generator to work with new javascript/stylesheets conventionsPiotr Sarnacki2011-04-161-16/+18
|
* Fix generator tests.José Valim2011-04-151-22/+21
|
* Remove the ability for engines to serve assets from the public directory.José Valim2011-04-152-292/+1
|
* Fix tests.José Valim2011-04-152-3/+5
|
* Booya, sprockets now works from Engines.José Valim2011-04-152-3/+14
|
* Add some very simple docs.José Valim2011-04-151-0/+3
|
* Update scaffold controller to generate scss file if Sass is availablePrem Sichanugrist2011-04-151-3/+9
|
* The controller and resource generators will now automatically produce asset ↵David Heinemeier Hansson2011-04-142-0/+38
| | | | stubs (this can be turned off with --skip-assets). These stubs will use Coffee and Sass, if those libraries are available. [DHH]
* jQuery is the new defaultXavier Noria2011-04-132-26/+14
|
* Add --old-style-hash option to force creating old style hash on Ruby 1.9Prem Sichanugrist2011-04-102-0/+15
| | | | That means if you don't like the new syntax, you can pass --old-style-hash to force Rails to generate code with hash rockets.
* Rails will now generate Ruby 1.9 style hash when running app generator on ↵Prem Sichanugrist2011-04-101-0/+10
| | | | | | Ruby 1.9.x The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate.
* Rails will now generate Ruby 1.9 style hash when running scaffold_controller ↵Prem Sichanugrist2011-04-101-0/+11
| | | | | | | | generator on Ruby 1.9.x The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate. This patch has been requested by DHH.
* added find_zone and find_zone! to AS timezones and changed the AS Railtie to ↵Josh Kalderimis2011-04-051-0/+22
| | | | | | use find_zone! as well as adding Railtie tests Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* remove AM delegating register_observer and register_interceptor to Mail and ↵Josh Kalderimis2011-04-041-0/+65
| | | | | | instead implement smarter versions allowing for string class names, also added proper Railtie support with tests. Signed-off-by: José Valim <jose.valim@gmail.com>
* Engines that use isolate_namespace with nested modules should set correct ↵Rolf Timmermans2011-03-281-0/+39
| | | | module prefix for their routes.
* s/with/when/Xavier Noria2011-03-271-1/+1
|
* Add `config.force_ssl` configuration which will load `Rack::SSL` middleware ↵Prem Sichanugrist2011-03-271-0/+6
| | | | | | | | if set to true This will allow user to be able to force all requests to be under HTTPS protocol. This commit was a request from DHH. Special thanks to Josh Peek as well for making `Rack::SSL`.
* Fix test for prepend giving a false positive. [#5716 state:resolved]Aditya Sanghi2011-03-231-2/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* use parens and silence ambiguous args warningsJack Dempsey2011-03-142-18/+18
|
* log and readme should respect --quietJosé Valim2011-03-041-0/+25
|
* Always use ActionDispatch::ShowExceptions middleware [#6462 state:resolved]Prem Sichanugrist2011-02-252-2/+39
| | | | This will make sure the application will raise `ActionController::RoutingError` in case "X-Cascade: pass" header was set, usually when there's no route match.
* Make sure that we set `env["action_dispatch.show_exceptions"]`Prem Sichanugrist2011-02-251-0/+15
| | | | This has been used by `show_exception` middleware even the setting wasn't get passed to `env` hash.
* Removing redundant File.expand_path from generators testVinicius Baggio2011-02-231-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* We really don't care about IM middleware order, the important is that it ↵Emilio Tagua2011-02-181-1/+1
| | | | gets included.
* Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-181-0/+5
|\ | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association.rb activerecord/lib/active_record/fixtures.rb
| * Fixed issue #6363, avoid to pluralized already pluralized names and ↵Timothy N. Tsvetkov2011-02-161-0/+5
| | | | | | | | | | | | | | | | singularize a single in generators, for example stadia is a valid plural for stadium. But calling pluralize for stadia will return stadias which sematically is not corrent in this case [#6363 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-159-18/+188
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/examples/performance.rb activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/nested_attributes.rb activerecord/test/cases/relations_test.rb
| * Failing test for #6388Eric Allam2011-02-091-0/+28
| |
| * fix db:fixtures:load with FIXTURES specified [#6061 state:resolved]John Hawthorn2011-02-061-0/+17
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Correct migration name the test is looking to match.Ben Orenstein2011-02-041-1/+1
| | | | | | | | | | | | [#6375 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Configurable generation of add_index for references columnsMichał Łomnicki2011-02-011-0/+41
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Additionally trigger i18n configuration setup before any eager loading ↵Saimon Moore2011-02-011-0/+30
| | | | | | | | | | | | | | | | | | [#6353 state:resolved] This handles the case where config.cache_classes is true and classes are loaded before the I18n load path has had a chance to be populated. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>