aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | Default relative_url_root to ENV["RAILS_RELATIVE_URL_ROOT"]. Fixes #3365Piotrek Okoński2011-12-121-0/+9
| |
* | Skip assets options in environments files when --skip-sprockets is usedGuillermo Iguaran2011-12-111-0/+7
| |
* | Ensure that files that compile to js/css are not compiled by default with ↵Piotr Sarnacki2011-12-111-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-therubyrhinoYehuda Katz2011-12-091-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 usedGuillermo Iguaran2011-12-091-1/+5
| | |
* | | Skip assets groups if --skip-sprockets option is givenGuillermo Iguaran2011-12-091-0/+5
|/ /
* | Add the .rdoc extension to the README that Rails generates for a new applicationSteve Richert2011-12-091-3/+3
| |
* | Fix indentationPiotr Sarnacki2011-12-091-67/+67
| |
* | Allow to run migrations with given scope, with SCOPE=<scope>Piotr Sarnacki2011-12-091-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 enginesPiotr Sarnacki2011-12-091-6/+6
| |
* | Fix railties tests, identical migrations are not considered when copyingPiotr Sarnacki2011-12-091-0/+2
| |
* | Merge pull request #3908 from kennyj/should_use_default_charsetJosé Valim2011-12-081-2/+3
|\ \ | | | | | | Fix a failure in railties on ruby 1.8.x
| * | Fix testcase an error on ruby 1.8.x.kennyj2011-12-091-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_charsetJosé Valim2011-12-081-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 ↵kennyj2011-12-071-0/+6
| | | | | | | | | | | | time.
* | | Moves migrations tests from railties/test/application/rake_test.rb to ↵Kazimierz Kiełkowicz2011-12-072-68/+85
| | | | | | | | | | | | railties/test/application/rake/migrations_test.rb
* | | Move rake notes test to railties/test/application/rake/notes_test.rbKazimierz Kiełkowicz2011-12-072-42/+45
| | |
* | | Add annotation to haml and slim template.Kazimierz Kiełkowicz2011-12-071-0/+42
|/ /
* | Simplifying test in app/generatorArun Agrawal2011-12-031-3/+3
| |
* | implements automatic EXPLAIN logging for slow queriesXavier Noria2011-12-021-0/+9
|/
* Split ShowExceptions responsibilities in two middlewares.José Valim2011-12-012-2/+4
|
* Allow rescue responses to be configured through a railtie.José Valim2011-12-012-21/+30
|
* Leave default_asset_host_protocol unsetJonathan del Strother2011-12-011-0/+22
| | | When default_asset_host_protocol is left as nil, it will use absolute protocols when a request is present, and relative protocols otherwise (eg in asset generation)
* fix exception page when template contains utf-8 and parameters contain utf-8lest2011-11-301-11/+30
|
* `run_test` method conflicts with newer minitest, so change the nameAaron Patterson2011-11-301-5/+5
|
* put backtrace_cleaner to envlest2011-11-281-4/+5
|
* avoid absolute path for the rails.png in index.htmlkennyj2011-11-271-0/+1
|
* added tests, replaced classify with constantize - using classify here cuts ↵Jakub Kuźma2011-11-261-0/+38
| | | | the last 's' in ORM name
* Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-252-72/+0
|
* Updating newline fix to maintain existing linebreaks and indentation and ↵John Donahue2011-11-251-4/+6
| | | | test for b/eol on inserts
* Merge pull request #3747 from lest/middleware-loggerJosé Valim2011-11-251-0/+1
|\ | | | | middlewares should have configurable logger
| * middlewares should use logger from envlest2011-11-251-0/+1
| |
* | Display mounted engines in `rake routes` by defaultPiotr Sarnacki2011-11-251-4/+0
| |
* | Merge branch 'serializers'José Valim2011-11-252-0/+72
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | This implements the ActiveModel::Serializer object. Includes code, tests, generators and guides. From José and Yehuda with love. Conflicts: railties/CHANGELOG.md
| * | Add a hook for serializers in the scaffold generator (off for now).José Valim2011-11-251-0/+9
| | |
| * | Add generators for serializers.José Valim2011-11-251-0/+63
| | |
* | | Added tests for #3751ganesh2011-11-251-1/+1
| |/ |/|
* | Allow to display engine's routes when running `rake routes ENGINES=true`Piotr Sarnacki2011-11-241-0/+30
| |
* | Merge pull request #3739 from lest/config-always-write-cookieJosé Valim2011-11-231-0/+47
|\ \ | | | | | | configuration option to always write cookie
| * | configuration option to always write cookielest2011-11-231-0/+47
| |/
* / Allow to change engine's loading priority with config.railties_order=Piotr Sarnacki2011-11-231-0/+126
|/
* Rely on a public contract between railties instead of accessing railtie ↵José Valim2011-11-231-3/+3
| | | | methods directly.
* fix rails plugin new CamelCasedName buglest2011-11-191-0/+6
| | | | refs #3684
* Unused variable removedArun Agrawal2011-11-152-2/+1
|
* Added therubyrhino to default Gemfile under JRubyGuillermo Iguaran2011-11-141-0/+7
|
* Fixed error with 'rails generate new plugin' where the .gitignore was not ↵Tyler Coville2011-11-091-0/+8
| | | | properly generated if --dummy-path was used and added test case
* Modulize Rails console methods so that other console libraries such as Pry ↵Akira Matsuda2011-11-091-1/+1
| | | | can include these methods
* move Rails console top level methods to IRB contextAkira Matsuda2011-11-041-4/+10
|
* treat USAGE as an ERB templateColin MacKenzie IV2011-11-023-0/+12
|
* Removing db/seeds.rb is fine. Don't blow up.Jeremy Kemper2011-10-291-1/+7
|