Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor railties console and dbconsole commands | Mehmet Emin İNAÇ | 2015-05-10 | 1 | -8/+4 |
| | | | | fix minor convention problems | ||||
* | add test coverage for `bin/setup`. | Yves Senn | 2015-05-06 | 1 | -0/+54 |
| | | | | Make sure this script keeps working and has consistent output. | ||||
* | list reserved words in generator error | Sean Linsley | 2015-05-05 | 2 | -2/+2 |
| | |||||
* | Fix constant in void context warnings | Andrew White | 2015-05-05 | 1 | -2/+2 |
| | |||||
* | Document inline image mailer preview interceptor | Andrew White | 2015-05-04 | 2 | -7/+20 |
| | | | | Explain what the interceptor is used for and how to remove it. | ||||
* | Fix railties configuration test | Andrew White | 2015-05-04 | 1 | -2/+2 |
| | |||||
* | Add support for inline images to mailer previews | Andrew White | 2015-05-04 | 2 | -8/+10 |
| | | | | | Use a preview interceptor to search for inline cid: urls in src attributes and convert them to data urls. | ||||
* | Fix mailer previews with attachments | Andrew White | 2015-05-04 | 1 | -0/+190 |
| | | | | | | Use the mail gem's own API to locate the correct part. Fixes #14435. | ||||
* | Fix generator tests | Rafael Mendonça França | 2015-05-03 | 1 | -1/+1 |
| | | | | In my machine the output is different | ||||
* | Remove unneeded base file | Rafael Mendonça França | 2015-05-03 | 2 | -57/+53 |
| | | | | We are only using for one test class | ||||
* | Remove unused private classes | Rafael Mendonça França | 2015-05-03 | 1 | -60/+0 |
| | | | | | | | The usage of these classes where removed at 8017e6af31caa58a58787274ff0ca01397219e49. cc @arthurnn @senny | ||||
* | Merge pull request #19093 from ↵ | Rafael Mendonça França | 2015-05-03 | 1 | -0/+30 |
|\ | | | | | | | | | remomueller/fix-actionmailer-preview-links-on-subdirectories Mailer preview now uses `url_for` to fix links to emails for apps runnin... | ||||
| * | Mailer preview now uses `url_for` to fix links to emails for apps running on ↵ | Remo Mueller | 2015-04-30 | 1 | -0/+30 |
| | | | | | | | | a subdirectory, closes #19092. | ||||
* | | Removed `assigns` from functional_test templates | Prathamesh Sonpatki | 2015-05-02 | 1 | -2/+2 |
|/ | | | | | - Based on DHH's suggestion about deprecating `assigns` in https://github.com/rails/rails/pull/18305#issuecomment-68605166. | ||||
* | Merge pull request #19939 from artofhuman/remove-mocha-from-some-tests | Rafael Mendonça França | 2015-04-28 | 1 | -10/+13 |
|\ | | | | | Remove use of mocha in the named base tests | ||||
| * | Remove use of mocha in the named base tests | Semyon Pupkov | 2015-04-28 | 1 | -10/+13 |
| | | |||||
* | | mailer previews for `NullMail` instances. Closes #19849. | Yves Senn | 2015-04-28 | 1 | -0/+26 |
|/ | |||||
* | Revert "Merge pull request #17920 from ↵ | Yves Senn | 2015-04-27 | 1 | -0/+28 |
| | | | | | | | | | | | | | | | calebthompson/dont-rely-on-environment-task-for-schema-load" This reverts commit 08ff4ccbbb3fb143a02e6752efb974a4bcfcd3bb, reversing changes made to 6c9ed6dbc62450cdb87559afd15798305e069146. Caused by #17920. Closes #19545. This patch introduced regressions because initializers were no longer loaded. Specifically missing inflections result in broken restores of the database. | ||||
* | Need to add config.assets.compile=true to access `.assets` | Arthur Neves | 2015-04-26 | 1 | -0/+1 |
| | | | | | | sprockets-rails will only add `Rails.application.assets` if compile is no false. See change on sprockets-rails https://github.com/rails/sprockets-rails/commit/d7c7ee19991c565eb77ee143be2d009ba4472122 | ||||
* | assets:cache:clean wont clean cache anymore | Arthur Neves | 2015-04-26 | 1 | -11/+0 |
| | | | | | See the behaviour change on sprockets-rails https://github.com/rails/sprockets-rails/commit/56725e5843662189c6701478f7598db306d5fb02 | ||||
* | Revert "Fix multiple suggestion test" | Arthur Neves | 2015-04-25 | 1 | -1/+1 |
| | | | | This reverts commit 6a7cf515123889360d272e8ab4be045578dfc0fb. | ||||
* | Fix multiple suggestion test | Arthur Neves | 2015-04-25 | 1 | -1/+1 |
| | |||||
* | Add test for multiple suggested generator names. | Josef Šimánek | 2015-04-25 | 1 | -0/+6 |
| | |||||
* | Why do we add a top-level constant here? | Akira Matsuda | 2015-04-25 | 1 | -4/+2 |
| | |||||
* | Remove sqlite support from `rails dbconsole` | Andrew White | 2015-04-22 | 1 | -6/+0 |
| | | | | | | Support for versions of SQLite less than 3 was removed in #6011 as part of the Rails 4.0 release. Therefore there is no need to have support for it in the `rails dbconsole` command anymore. | ||||
* | Implicitly skip spring for `rails new --dev` | Godfrey Chan | 2015-04-20 | 1 | -0/+8 |
| | | | | | | Spring seems like an obvious foot gun for the `--dev` setup, presumably you are about to make lots of changes to the codebase, so it should always reload the framework. | ||||
* | fix indent in routes when using namespaced controllers | yuuji.yaginuma | 2015-04-14 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | Before: namespace :foo do namespace :bar do get 'baz/index' end end After: namespace :foo do namespace :bar do get 'baz/index' end end | ||||
* | Rename railties/bin to railties/exe | Islam Wazery | 2015-04-11 | 2 | -2/+2 |
| | | | | | | That will match the new Bundler executables convention. Bundler Blog Post: http://bundler.io/blog/2015/03/20/moving-bins-to-exe.html Also updated the necessary tests. | ||||
* | bugfix CodeStatics#calculate_directory_statics when dir has source extension | Pablo Vizcay | 2015-04-09 | 1 | -0/+20 |
| | |||||
* | Merge pull request #19034 from jvanbaarsen/explicit-job-base-class | Matthew Draper | 2015-03-30 | 3 | -4/+10 |
|\ | | | | | | | Add explicit base class for ActiveJob jobs | ||||
| * | Add explicit base class for ActiveJob jobs | Jeroen van Baarsen | 2015-03-23 | 3 | -4/+10 |
| | | | | | | | | | | | | | | | | * Jobs generated now inherent from ApplicationJob * ApplicationJob inherents from ActiveJob::Base * Added entry to changelog Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | ||||
* | | Test using sprockets 3 | Rafael Mendonça França | 2015-03-29 | 3 | -11/+11 |
| | | |||||
* | | respect `pluralize_table_names` when generate fixture file. fixes #19519 | yuuji.yaginuma | 2015-03-27 | 1 | -0/+10 |
| | | |||||
* | | Revert "Merge pull request #19404 from dmathieu/remove_rack_env" | Jeremy Kemper | 2015-03-20 | 6 | -19/+74 |
| | | | | | | | | | | | | | | Preserving RACK_ENV behavior. This reverts commit 7bdc7635b885e473f6a577264fd8efad1c02174f, reversing changes made to 45786be516e13d55a1fca9a4abaddd5781209103. | ||||
* | | Remove `#build_original_fullpath` method | eileencodes | 2015-03-20 | 1 | -27/+0 |
| | | | | | | | | | | | | | | | | | | | | | | Removing `#build_original_fullpath` because it is no longer used by the Rails' source code or called in the `#call` method becasue the previous commit now uses `fullpath` from Rack. The method was nodoc'ed so it's safe to remove. NOTE: I did this as a separate commit so if this does cause a problem with engines etc reverting is easy. | ||||
* | | Merge pull request #19404 from dmathieu/remove_rack_env | Aaron Patterson | 2015-03-19 | 6 | -74/+19 |
|\ \ | | | | | | | Don't fallback to RACK_ENV when RAILS_ENV is not present | ||||
| * | | don't fallback to RACK_ENV when RAILS_ENV is not present | Damien Mathieu | 2015-03-19 | 6 | -74/+19 |
| | | | |||||
* | | | Use absolute path on find_method location for the runner | Arthur Neves | 2015-03-19 | 1 | -4/+5 |
| | | | |||||
* | | | method_source needs to be a hard dependency on railties | Arthur Neves | 2015-03-19 | 1 | -7/+0 |
| | | | |||||
* | | | Merge pull request #19216 from senny/bin_test_runner | Yves Senn | 2015-03-19 | 4 | -41/+203 |
|\ \ \ | | | | | | | | | `bin/rails test` runner (rerun snippets, run tests by line, option documentation) | ||||
| * | | | run `test_test.rb` using the `bin/rails test`. | Yves Senn | 2015-03-18 | 1 | -17/+1 |
| | | | | |||||
| * | | | Fix reporter test and verbose mode | Arthur Neves | 2015-03-18 | 1 | -9/+7 |
| | | | | |||||
| * | | | move `ENV["BACKTRACE"]` support into the TestRunner. | Yves Senn | 2015-03-18 | 1 | -0/+10 |
| | | | | |||||
| * | | | `-p`, `--pattern` to run tests using a pattern. | Yves Senn | 2015-03-18 | 1 | -2/+1 |
| | | | | |||||
| * | | | use `bin/rails t` runner in `test_runner_test.rb`. | Yves Senn | 2015-03-18 | 2 | -28/+21 |
| | | | | |||||
| * | | | Fix relative dir call on test runner | Arthur Neves | 2015-03-18 | 1 | -10/+14 |
| | | | | |||||
| * | | | Add tests for runner#test_files method | Arthur Neves | 2015-03-18 | 1 | -0/+14 |
| | | | | |||||
| * | | | Run multiple files on runner | Arthur Neves | 2015-03-18 | 1 | -2/+16 |
| | | | | |||||
| * | | | `-e` / `--environment` for the test runner. | Yves Senn | 2015-03-18 | 1 | -0/+14 |
| | | | | |||||
| * | | | get rid of NAMED_PATTERNS in favor of running a whole directory | Yves Senn | 2015-03-18 | 1 | -0/+8 |
| | | | |