aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* Add arel branch to the testsRafael Mendonça França2012-03-271-1/+1
|
* Fix GH #5411. When precompiling, params method is undefined.kennyj2012-03-221-0/+12
|
* [3-2-stable] Port of #5522 'Fix adding/removing field's index when ↵Marcelo Silveira2012-03-211-0/+18
| | | | generating migration'
* [3-2-stable] Remove blank line from generated migrationMarcelo Silveira2012-03-201-0/+1
|
* Build fix for app_generator_test.rbArun Agrawal2012-03-181-1/+1
|
* Fix GH #5435. db:structure:dump should be re-enable.kennyj2012-03-181-0/+12
|
* Use Ruby 1.8 hash syntaxRafael Mendonça França2012-03-132-8/+32
|
* Use the attributes hash explicitlyRafael Mendonça França2012-03-132-6/+26
|
* Do not use the attributes hash in the scaffold functional testsRafael Mendonça França2012-03-132-2/+9
|
* Now all the models need to explicitly declare the accessible attributesRafael Mendonça França2012-03-041-0/+1
|
* Only add the whitelist_attributes option if ActiveRecord is presentRafael Mendonça França2012-03-042-1/+7
| | | | | | | Conflicts: railties/test/generators/app_generator_test.rb railties/test/isolation/abstract_unit.rb
* Whitelist all attribute assignment by default.Michael Koziarski2012-03-051-0/+10
| | | | Change the default for newly generated applications to whitelist all attribute assignment. Also update the generated model classes so users are reminded of the importance of attr_accessible.
* --edge option should generate app with rails 3-2-stableGuillermo Iguaran2012-02-072-3/+3
|
* Fix plugin_new test failure from c8c84397Prem Sichanugrist2012-02-012-3/+7
| | | | | `plugin_new` generator doesn't generate `sass-rails` in the Gemfile, so you can't check for that.
* Fix GH #4749. Remove branch options, because edge is not 3-2-stable.kennyj2012-02-011-0/+5
|
* fix assets testSergey Nartimov2012-01-311-1/+1
|
* Support decimal{1,2} and decimal{1-2} and decimal{1.2} so it works fine with ↵José Valim2012-01-221-3/+3
| | | | bash, zsh, etc, closes #4602
* Add default charset config to ActionDispatchCarlos Antonio da Silva2012-01-171-0/+8
|
* Don't hardcode assets route skipped in route inspectorGuillermo Iguaran2012-01-151-0/+15
| | | | | | Conflicts: railties/lib/rails/application/route_inspector.rb
* No AS::TestCase here.José Valim2012-01-131-1/+1
|
* config.force_ssl should mark the session as secure.José Valim2012-01-131-0/+30
|
* Merge pull request #4451 from guilleiguaran/add-therubyracer-commentedJosé Valim2012-01-131-4/+2
|
* Remove duplicated test line which was causing Ci failures on 1.8.7.José Valim2012-01-101-1/+0
|
* Remove dead codeSantiago Pastorino2012-01-101-4/+0
|
* Rails initialization with initialize_on_precompile = false should set assets_dirSantiago Pastorino2012-01-101-0/+6
|
* Add ORIGINAL_FULLPATH to envPiotr Sarnacki2012-01-102-1/+37
| | | | | | | | | | | This behaves similarly to REQUEST_URI, but we need to implement it on our own because REQUEST_URI is not reliable. Note that since PATH_INFO does not contain information about trailing question mark, this is not 100% accurate, for example `/foo?` will result in `/foo` in ORIGINAL_FULLPATH
* Correctly display rack apps with dynamic constraints in RoutesInspectorPiotr Sarnacki2011-12-261-0/+17
| | | | | | | | | | | | | If you used dynamic constraint like that: scope :constraint => MyConstraint.new do mount RackApp => "/foo" end routes were not displayed correctly when using `rake routes`. This commit fixes it. If you want nice display of dynamic constraints in `rake routes` output, please just override to_s method in your constraint's class.
* Last attempt to fix 1.8.7 tests.José Valim2011-12-242-7/+14
|
* assert_not_match -> assert_no_match.José Valim2011-12-242-6/+6
|
* Tidy up migration types.José Valim2011-12-243-3/+8
|
* added ability to specify from cli when generating a model/migration whether ↵Dmitrii Samoilov2011-12-243-1/+131
| | | | particular property should be an index like this 'rails g model person name:string:index profile:string'
* just require things onceAaron Patterson2011-12-211-4/+2
|
* append puts the routes after the default, which causes a 404. instead use ↵Aaron Patterson2011-12-211-1/+1
| | | | prepend
* Move SubTestTask. Soften up tests.Jeremy Kemper2011-12-211-10/+7
|
* don't encode an UTF-8 encoded templateXu Pan2011-12-201-1/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge pull request #4019 from kommen/rake_db_structureJosé Valim2011-12-181-0/+8
|\ | | | | Make structure.sql file configureable in db:structure:dump analog to SCHEMA in db:schema:dump
| * Rename STRUCTURE to DB_STRUCTURE, update dump task description and add ↵Dieter Komendera2011-12-181-0/+8
| | | | | | | | simple testcase.
* | Warning removed in testArun Agrawal2011-12-181-1/+1
| |
* | No need 'abstract_unit' here. It's already in 'generators_test_helper'Arun Agrawal2011-12-182-2/+0
| |
* | Merge pull request #4009 from kirs/generate-rake-taskPiotr Sarnacki2011-12-171-0/+12
|\ \ | |/ |/| Rake tasks generator
| * Rake tasks generator with testKir2011-12-171-0/+12
| |
* | Wait a full second so we have time for changes to propagateJosé Valim2011-12-161-0/+3
| |
* | Fix failing asset test.José Valim2011-12-161-1/+3
| |
* | Show detailed exceptions no longer returns true if the request is local in ↵José Valim2011-12-161-0/+1
| | | | | | | | production.
* | Improve the specs on exceptions app.José Valim2011-12-161-1/+1
| |
* | Allow a custom exceptions app to set.José Valim2011-12-161-0/+14
| |
* | Fix diagnostics page for routing errors.José Valim2011-12-151-2/+13
| |
* | Clean up the cache before the request in case we are running in the ↵José Valim2011-12-153-6/+52
| | | | | | | | reload_classes_only_on_change schema.
* | FileUpdateChecker should be able to handle deleted files.José Valim2011-12-131-0/+32
| |
* | Add config.file_watcher so developers can provide their own watchers (for ↵José Valim2011-12-131-3/+79
| | | | | | | | instance, hooking on fsevents).