aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* Display annotations from .coffee files in `rake notes`Bartlomiej Kozal2012-02-051-10/+12
|
* Add convenience method to hide a generator from the available onesCarlos Antonio da Silva2012-02-032-1/+16
| | | | | | It is usually useful to be able to hide a generator when running rails generate command. Such generators might be used only to dry up generators code and shouldn't be available to end users.
* Remove the dependent_restrict_raises configuration if activerecord isRafael Mendonça França2012-02-012-2/+1
| | | | not preset
* Fix GH #4737. Missing helper file (LoadError) in mountable plugin.kennyj2012-02-021-7/+8
|
* Don't run bundle install when passed with --pretend optionkennyj2012-02-011-0/+5
|
* Only add ActiveRecord configuration if it is presentRafael Mendonça França2012-01-311-0/+1
|
* Merge pull request #4727 from railsaholic/dependent_restrict_should_add_errorJon Leighton2012-01-311-0/+5
|\ | | | | has_many/has_one, :dependent => :restrict, deprecation added
| * has_many/has_one, :dependent => :restrict, deprecation added.Manoj2012-01-291-0/+5
| |
* | fix assets testSergey Nartimov2012-01-311-1/+1
|/
* fix a small typo [ci skip]Vijay Dev2012-01-271-1/+1
|
* Remove redundant instance_variables (@colorize_logging)kennyj2012-01-271-0/+5
|
* 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 Conflicts: railties/test/generators/migration_generator_test.rb
* Merge pull request #4497 from carlosantoniodasilva/action-controller-refactorJosé Valim2012-01-171-0/+8
|\ | | | | Action controller refactor - remove Compatibility module
| * Remove deprecated default_charset= from AC::BaseCarlos Antonio da Silva2012-01-171-0/+8
| | | | | | | | | | This should be set globally as a configuration, using `config.action_dispatch.default_charset` instead
* | Deprecate RAILS_CACHE constant.kennyj2012-01-181-2/+2
|/
* Fix railties testsPiotr Sarnacki2012-01-151-4/+4
| | | | | SchemaMigration model is loaded on rails initialization, which means that it will not be cleaned on each request.
* Don't hardcode assets route skipped in route inspectorGuillermo Iguaran2012-01-141-0/+14
|
* config.force_ssl should mark the session as secure.José Valim2012-01-131-0/+30
|
* Add therubyracer gem commented in default GemfileGuillermo Iguaran2012-01-121-4/+2
|
* Fix GH #3980. Support assets:cache:clean method to respect sprockets cache.kennyj2012-01-131-1/+13
|
* Remove dead codeSantiago Pastorino2012-01-101-4/+0
|
* Rails initialization with initialize_on_precompile = false should set assets_dirSantiago Pastorino2012-01-101-0/+6
|
* Fix tests, ./ is not needed for relative entries in Gemfile in newest ↵Piotr Sarnacki2012-01-071-2/+2
| | | | bundler version
* Add Gemfile entry when creating a plugin in application's directoryPiotr Sarnacki2012-01-071-1/+32
| | | | | | | | | | | | After vendor/plugins were removed from rails, the new method to create plugins is to create gem plugins. Most of the time if you create a new plugin in rails application's directory, you want to extract something from that application and use it immediately, ie. add such line to Gemfile: gem 'foo', :path => './vendor/foo' This commit makes plugin new generator to add such line automatically.
* Merge pull request #4360 from rafaelfranca/patch-1Aaron Patterson2012-01-061-28/+0
|\ | | | | Remove more references to Test::Unit
| * Test::Unit::Util::BacktraceFilter is never definedRafael Mendonça França2012-01-061-28/+0
| |
* | require minitest rather than test/unitAaron Patterson2012-01-063-3/+3
|/
* use a regular expression for the number of passes. We only care thatAaron Patterson2012-01-061-1/+1
| | | | all tests pass, not the number of tests.
* convert railties to use AS::TestCaseAaron Patterson2012-01-0535-35/+36
|
* Merge pull request #4192 from mptre/masterJosé Valim2012-01-051-0/+9
|\ | | | | Align rake notes
| * Align rake notes.Anton Lindqvist2011-12-261-0/+9
| |
* | Rails::Plugin has goneSantiago Pastorino2012-01-038-305/+0
|/
* 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.
* Test::Unit::Util::BacktraceFilter not available in ruby19 test/unitVishnu Atrai2011-12-261-17/+0
|
* remove checks for encodings availabilitySergey Nartimov2011-12-251-1/+1
|
* Use 1.9 hash syntax instead.José Valim2011-12-242-13/+13
|
* 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'
* remove Rails application fallback from AD::IntegrationTestSergey Nartimov2011-12-231-0/+5
| | | | set AD::IntegrationTest.app in railtie initializer
* Depend on 4.0.0.beta gems. Use https for github urls.Jeremy Kemper2011-12-221-1/+1
|
* 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
|
* Merge pull request #4079 from drogus/http_digest_issueJosé Valim2011-12-212-1/+37
|\ | | | | Fix http digest authentication when url ends with `/` or `?`
| * Add ORIGINAL_FULLPATH to envPiotr Sarnacki2011-12-212-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
* | Get rid of more 1.8.x dead codeJosé Valim2011-12-205-29/+6
| |
* | This test is rubbish.José Valim2011-12-201-39/+0
| |
* | Get rid of --old-style-hashJosé Valim2011-12-203-45/+4
|/
* Merge pull request #4043 from cqpx/masterJosé Valim2011-12-201-1/+2
|\ | | | | don't encode an UTF-8 encoded template