Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #6450 from iHiD/resource_generator_routes_master | Rafael Mendonça França | 2012-10-01 | 2 | -3/+75 |
| | | | | | | | | Master branch: Fixed generated whitespace in routes when using namespaced resource. Merge pull request #7811 from iHiD/resource_generator_routes_master Fix the build (Broken scaffold routes test) | ||||
* | We need to have 1-0-stable for joureny gem in edge | Arun Agrawal | 2012-08-24 | 1 | -1/+2 |
| | | | | | Problem : Edge rails can't bundle Fixes #7437 | ||||
* | Don't add sqlite3 to gemspec with -O on rails plugin new | Piotr Sarnacki | 2012-06-08 | 1 | -0/+8 |
| | | | | (closes #6672) | ||||
* | Merge pull request #6678 from arunagw/fix_issue_6673 | Rafael Mendonça França | 2012-06-08 | 1 | -0/+8 |
|\ | | | | | Fix issue 6673 | ||||
| * | We should not include engine.rake file into rake | Arun Agrawal | 2012-06-08 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | if we are passing -T which is skip_test_unit See issue #6673 for more details. I saw that we are not creating dummy app even if we do skip_test_unit. Fixes #6673 | ||||
* | | Removed protected as we already doing it above. | Arun Agrawal | 2012-06-08 | 1 | -2/+0 |
|/ | |||||
* | Changed symbol platform to platforms for the commented out call to gem ↵ | Martin O'Connor | 2012-05-30 | 1 | -1/+1 |
| | | | | | | | 'therubyracer'. Dependency.rb expects the symbol to be named :platforms as opposed to platform. RubyMine's inspections indicate that the symbol should be named :platforms. Updating tests. | ||||
* | Use require_dependency in generated controllers | Piotr Sarnacki | 2012-05-22 | 1 | -2/+2 |
| | | | | | | | Using require in development mode will prevent required files from reloading, even if they're changed. In order to keep namespaced application_controller reloadable, we need to use require_dependency instead of require. | ||||
* | Fix generators to help with ambiguous `ApplicationController` issue | Piotr Sarnacki | 2012-05-20 | 1 | -5/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In development mode, dependencies are loaded dynamically at runtime, using `const_missing`. Because of that, when one of the constants is already loaded and `const_missing` is not triggered, user can end up with unexpected results. Given such file in an Engine: ```ruby module Blog class PostsController < ApplicationController end end ``` If you load it first, before loading any application files, it will correctly load `Blog::ApplicationController`, because second line will hit `const_missing`. However if you load `ApplicationController` first, the constant will be loaded already, `const_missing` hook will not be fired and in result `PostsController` will inherit from `ApplicationController` instead of `Blog::ApplicationController`. Since it can't be fixed in `AS::Dependencies`, the easiest fix is to just explicitly load application controller. closes #6413 | ||||
* | Replace ruby-debug19 which doesnt work on 1.9.3 out of the box with a more ↵ | Aditya Sanghi | 2012-04-17 | 1 | -2/+2 |
| | | | | maintained debugger gem | ||||
* | "rails new -h" shows message in rails directory | ask | 2012-04-13 | 1 | -0/+10 |
| | |||||
* | Usage file in generators shouldn't be fetched only based on source_root | Piotr Sarnacki | 2012-04-02 | 2 | -1/+5 |
| | | | | | | | | In case `source_roout` is not set, `default_source_root` is used, which includes also `templates` directory. If there is no `templates` directory, `default_source_root` is not available and USAGE will not be displayed. USAGE should be also checked based on default directory excluding `templates`. | ||||
* | Add arel branch to the tests | Rafael Mendonça França | 2012-03-27 | 1 | -1/+1 |
| | |||||
* | [3-2-stable] Port of #5522 'Fix adding/removing field's index when ↵ | Marcelo Silveira | 2012-03-21 | 1 | -0/+18 |
| | | | | generating migration' | ||||
* | [3-2-stable] Remove blank line from generated migration | Marcelo Silveira | 2012-03-20 | 1 | -0/+1 |
| | |||||
* | Build fix for app_generator_test.rb | Arun Agrawal | 2012-03-18 | 1 | -1/+1 |
| | |||||
* | Use Ruby 1.8 hash syntax | Rafael Mendonça França | 2012-03-13 | 2 | -8/+32 |
| | |||||
* | Use the attributes hash explicitly | Rafael Mendonça França | 2012-03-13 | 2 | -6/+26 |
| | |||||
* | Do not use the attributes hash in the scaffold functional tests | Rafael Mendonça França | 2012-03-13 | 2 | -2/+9 |
| | |||||
* | Only add the whitelist_attributes option if ActiveRecord is present | Rafael Mendonça França | 2012-03-04 | 1 | -0/+6 |
| | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb railties/test/isolation/abstract_unit.rb | ||||
* | Whitelist all attribute assignment by default. | Michael Koziarski | 2012-03-05 | 1 | -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-stable | Guillermo Iguaran | 2012-02-07 | 2 | -3/+3 |
| | |||||
* | Fix plugin_new test failure from c8c84397 | Prem Sichanugrist | 2012-02-01 | 2 | -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. | kennyj | 2012-02-01 | 1 | -0/+5 |
| | |||||
* | Support decimal{1,2} and decimal{1-2} and decimal{1.2} so it works fine with ↵ | José Valim | 2012-01-22 | 1 | -3/+3 |
| | | | | bash, zsh, etc, closes #4602 | ||||
* | Merge pull request #4451 from guilleiguaran/add-therubyracer-commented | José Valim | 2012-01-13 | 1 | -4/+2 |
| | |||||
* | Remove duplicated test line which was causing Ci failures on 1.8.7. | José Valim | 2012-01-10 | 1 | -1/+0 |
| | |||||
* | 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' | ||||
* | 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 |
| | | |||||
* | | strip whitespace errors from the generated Gemfile | Aaron Patterson | 2011-12-12 | 1 | -0/+10 |
| | | |||||
* | | Skip assets options in environments files when --skip-sprockets is used | Guillermo Iguaran | 2011-12-11 | 1 | -0/+7 |
| | | |||||
* | | 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 |
| | | |||||
* | | 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 |
|/ | |||||
* | avoid absolute path for the rails.png in index.html | kennyj | 2011-11-27 | 1 | -0/+1 |
| | |||||
* | added tests, replaced classify with constantize - using classify here cuts ↵ | Jakub Kuźma | 2011-11-26 | 1 | -0/+38 |
| | | | | the last 's' in ORM name | ||||
* | Revert the serializers API as other alternatives are now also under discussion | José Valim | 2011-11-25 | 2 | -72/+0 |
| | |||||
* | Updating newline fix to maintain existing linebreaks and indentation and ↵ | John Donahue | 2011-11-25 | 1 | -4/+6 |
| | | | | test for b/eol on inserts | ||||
* | Merge branch 'serializers' | José Valim | 2011-11-25 | 2 | -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é Valim | 2011-11-25 | 1 | -0/+9 |
| | | |||||
| * | Add generators for serializers. | José Valim | 2011-11-25 | 1 | -0/+63 |
| | |