Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correctly display rack apps with dynamic constraints in RoutesInspector | Piotr Sarnacki | 2011-12-26 | 1 | -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é Valim | 2011-12-24 | 2 | -7/+14 |
| | |||||
* | assert_not_match -> assert_no_match. | José Valim | 2011-12-24 | 2 | -6/+6 |
| | |||||
* | Tidy up migration types. | José Valim | 2011-12-24 | 3 | -3/+8 |
| | |||||
* | added ability to specify from cli when generating a model/migration whether ↵ | Dmitrii Samoilov | 2011-12-24 | 3 | -1/+131 |
| | | | | particular property should be an index like this 'rails g model person name:string:index profile:string' | ||||
* | just require things once | Aaron Patterson | 2011-12-21 | 1 | -4/+2 |
| | |||||
* | append puts the routes after the default, which causes a 404. instead use ↵ | Aaron Patterson | 2011-12-21 | 1 | -1/+1 |
| | | | | prepend | ||||
* | Move SubTestTask. Soften up tests. | Jeremy Kemper | 2011-12-21 | 1 | -10/+7 |
| | |||||
* | don't encode an UTF-8 encoded template | Xu Pan | 2011-12-20 | 1 | -1/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge pull request #4019 from kommen/rake_db_structure | José Valim | 2011-12-18 | 1 | -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 Komendera | 2011-12-18 | 1 | -0/+8 |
| | | | | | | | | simple testcase. | ||||
* | | Warning removed in test | Arun Agrawal | 2011-12-18 | 1 | -1/+1 |
| | | |||||
* | | No need 'abstract_unit' here. It's already in 'generators_test_helper' | Arun Agrawal | 2011-12-18 | 2 | -2/+0 |
| | | |||||
* | | Merge pull request #4009 from kirs/generate-rake-task | Piotr Sarnacki | 2011-12-17 | 1 | -0/+12 |
|\ \ | |/ |/| | Rake tasks generator | ||||
| * | Rake tasks generator with test | Kir | 2011-12-17 | 1 | -0/+12 |
| | | |||||
* | | Wait a full second so we have time for changes to propagate | José Valim | 2011-12-16 | 1 | -0/+3 |
| | | |||||
* | | Fix failing asset test. | José Valim | 2011-12-16 | 1 | -1/+3 |
| | | |||||
* | | Show detailed exceptions no longer returns true if the request is local in ↵ | José Valim | 2011-12-16 | 1 | -0/+1 |
| | | | | | | | | production. | ||||
* | | Improve the specs on exceptions app. | José Valim | 2011-12-16 | 1 | -1/+1 |
| | | |||||
* | | Allow a custom exceptions app to set. | José Valim | 2011-12-16 | 1 | -0/+14 |
| | | |||||
* | | Fix diagnostics page for routing errors. | José Valim | 2011-12-15 | 1 | -2/+13 |
| | | |||||
* | | Clean up the cache before the request in case we are running in the ↵ | José Valim | 2011-12-15 | 3 | -6/+52 |
| | | | | | | | | reload_classes_only_on_change schema. | ||||
* | | FileUpdateChecker should be able to handle deleted files. | José Valim | 2011-12-13 | 1 | -0/+32 |
| | | |||||
* | | Add config.file_watcher so developers can provide their own watchers (for ↵ | José Valim | 2011-12-13 | 1 | -3/+79 |
| | | | | | | | | instance, hooking on fsevents). | ||||
* | | Merge pull request #3954 from bdurand/null_store_2 | José Valim | 2011-12-12 | 1 | -2/+2 |
|\ \ | | | | | | | Add ActiveSupport::Cache::NullStore for testing and development | ||||
| * | | Add ActiveSupport::Cache::NullStore to expose caching interface without ↵ | Brian Durand | 2011-12-12 | 1 | -2/+2 |
| | | | | | | | | | | | | actually caching for development and test environments. | ||||
* | | | Speed up development by only reloading classes if dependencies files changed. | José Valim | 2011-12-12 | 2 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3 | ||||
* | | | strip whitespace errors from the generated Gemfile | Aaron Patterson | 2011-12-12 | 1 | -0/+10 |
|/ / | |||||
* | | Default relative_url_root to ENV["RAILS_RELATIVE_URL_ROOT"]. Fixes #3365 | Piotrek Okoński | 2011-12-12 | 1 | -0/+9 |
| | | |||||
* | | Skip assets options in environments files when --skip-sprockets is used | Guillermo Iguaran | 2011-12-11 | 1 | -0/+7 |
| | | |||||
* | | Ensure that files that compile to js/css are not compiled by default with ↵ | Piotr Sarnacki | 2011-12-11 | 1 | -2/+8 |
| | | | | | | | | | | | | | | | | `rake assets:precompile` This case was not tested and documentation was a bit confusing on that topic, so it was not obvious if current code works properly or not. | ||||
* | | Merge pull request #3925 from guilleiguaran/extra-test-for-therubyrhino | Yehuda Katz | 2011-12-09 | 1 | -1/+5 |
|\ \ | | | | | | | Add test to verify that therubyrhino isn't included when JRuby isn't used | ||||
| * | | Add test to verify that therubyrhino isn't included when JRuby isn't used | Guillermo Iguaran | 2011-12-09 | 1 | -1/+5 |
| | | | |||||
* | | | Skip assets groups if --skip-sprockets option is given | Guillermo Iguaran | 2011-12-09 | 1 | -0/+5 |
|/ / | |||||
* | | Add the .rdoc extension to the README that Rails generates for a new application | Steve Richert | 2011-12-09 | 1 | -3/+3 |
| | | |||||
* | | Fix indentation | Piotr Sarnacki | 2011-12-09 | 1 | -67/+67 |
| | | |||||
* | | Allow to run migrations with given scope, with SCOPE=<scope> | Piotr Sarnacki | 2011-12-09 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | | | | | | | | Scope in migrations can be defined by adding suffix in filename, like: 01_a_migration.blog.rb. Such migration have blog scope. Scope is automatically added while copying migrations from engine, so if you want to revert all of the migrations from given engine, you can just run db:migrate with SCOPE, like: rake db:migrate SCOPE=blog | ||||
* | | Add suffix for migrations copied from engines | Piotr Sarnacki | 2011-12-09 | 1 | -6/+6 |
| | | |||||
* | | Fix railties tests, identical migrations are not considered when copying | Piotr Sarnacki | 2011-12-09 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #3908 from kennyj/should_use_default_charset | José Valim | 2011-12-08 | 1 | -2/+3 |
|\ \ | | | | | | | Fix a failure in railties on ruby 1.8.x | ||||
| * | | Fix testcase an error on ruby 1.8.x. | kennyj | 2011-12-09 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | In Ruby 1.8.x, config.encoding sets $KCODE. Therefore, the possible values are UTF8, SJIS, or EUC. And, if we set SJIS, we'll has the error. Because some rails sources are written in utf-8 encoding. | ||||
* | | | Merge pull request #3888 from kennyj/should_use_default_charset | José Valim | 2011-12-08 | 1 | -0/+6 |
|\| | | | | | | | | Assign config.encoding to AD::Response.default_charset at the initialization time. | ||||
| * | | Assign config.encoding to AD::Response.default_charset at the initialization ↵ | kennyj | 2011-12-07 | 1 | -0/+6 |
| | | | | | | | | | | | | time. | ||||
* | | | Moves migrations tests from railties/test/application/rake_test.rb to ↵ | Kazimierz Kiełkowicz | 2011-12-07 | 2 | -68/+85 |
| | | | | | | | | | | | | railties/test/application/rake/migrations_test.rb | ||||
* | | | Move rake notes test to railties/test/application/rake/notes_test.rb | Kazimierz Kiełkowicz | 2011-12-07 | 2 | -42/+45 |
| | | | |||||
* | | | Add annotation to haml and slim template. | Kazimierz Kiełkowicz | 2011-12-07 | 1 | -0/+42 |
|/ / | |||||
* | | Simplifying test in app/generator | Arun Agrawal | 2011-12-03 | 1 | -3/+3 |
| | | |||||
* | | implements automatic EXPLAIN logging for slow queries | Xavier Noria | 2011-12-02 | 1 | -0/+9 |
|/ | |||||
* | Split ShowExceptions responsibilities in two middlewares. | José Valim | 2011-12-01 | 2 | -2/+4 |
| | |||||
* | Allow rescue responses to be configured through a railtie. | José Valim | 2011-12-01 | 2 | -21/+30 |
| |