Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵ | Xavier Noria | 2012-02-24 | 1 | -5/+0 |
| | | | | the update action of resources | ||||
* | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. | ||||
* | Add convenience method to hide a generator from the available ones | Carlos Antonio da Silva | 2012-02-03 | 1 | -0/+9 |
| | | | | | | 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. | ||||
* | Fix GH #4737. Missing helper file (LoadError) in mountable plugin. | kennyj | 2012-02-02 | 1 | -7/+8 |
| | |||||
* | Don't run bundle install when passed with --pretend option | kennyj | 2012-02-01 | 1 | -0/+5 |
| | |||||
* | Only add ActiveRecord configuration if it is present | Rafael Mendonça França | 2012-01-31 | 1 | -0/+1 |
| | |||||
* | has_many/has_one, :dependent => :restrict, deprecation added. | Manoj | 2012-01-29 | 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 Conflicts: railties/test/generators/migration_generator_test.rb | ||||
* | Add therubyracer gem commented in default Gemfile | Guillermo Iguaran | 2012-01-12 | 1 | -4/+2 |
| | |||||
* | Fix tests, ./ is not needed for relative entries in Gemfile in newest ↵ | Piotr Sarnacki | 2012-01-07 | 1 | -2/+2 |
| | | | | bundler version | ||||
* | Add Gemfile entry when creating a plugin in application's directory | Piotr Sarnacki | 2012-01-07 | 1 | -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. | ||||
* | Rails::Plugin has gone | Santiago Pastorino | 2012-01-03 | 2 | -38/+0 |
| | |||||
* | Use 1.9 hash syntax instead. | José Valim | 2011-12-24 | 2 | -13/+13 |
| | |||||
* | 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' | ||||
* | Depend on 4.0.0.beta gems. Use https for github urls. | Jeremy Kemper | 2011-12-22 | 1 | -1/+1 |
| | |||||
* | Get rid of more 1.8.x dead code | José Valim | 2011-12-20 | 3 | -19/+4 |
| | |||||
* | Get rid of --old-style-hash | José Valim | 2011-12-20 | 3 | -45/+4 |
| | |||||
* | 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 |
| | | |||||
* | | Added tests for #3751 | ganesh | 2011-11-25 | 1 | -1/+1 |
|/ | |||||
* | fix rails plugin new CamelCasedName bug | lest | 2011-11-19 | 1 | -0/+6 |
| | | | | refs #3684 | ||||
* | Added therubyrhino to default Gemfile under JRuby | Guillermo Iguaran | 2011-11-14 | 1 | -0/+7 |
| | |||||
* | Fixed error with 'rails generate new plugin' where the .gitignore was not ↵ | Tyler Coville | 2011-11-09 | 1 | -0/+8 |
| | | | | properly generated if --dummy-path was used and added test case | ||||
* | Merge pull request #3357 from rahul100885/rahul100885_ws | Vijay Dev | 2011-10-25 | 1 | -0/+10 |
|\ | | | | | Added test case for postgresql database | ||||
| * | Added test case for postgresql database | Rahul P. Chaudhari | 2011-10-18 | 1 | -0/+10 |
| | | |||||
* | | Remove Turn from default Gemfile. | Guillermo Iguaran | 2011-10-22 | 1 | -15/+0 |
|/ | | | | We still looking for a best presentation for tests output. | ||||
* | Added test to check that the vendor/assets/stylesheets directory is created | Rahul Chaudhari | 2011-10-13 | 1 | -0/+5 |
| | |||||
* | Added test to check that the vendor/assets/javascripts directory is created | Sasha Gerrand | 2011-10-11 | 1 | -0/+5 |
| | |||||
* | Warnings removed when running with 1.9.3 | Arun Agrawal | 2011-10-09 | 1 | -1/+1 |
| | |||||
* | Isolate rake action tests that should be run under default env | Guillermo Iguaran | 2011-10-08 | 1 | -4/+8 |
| | |||||
* | The generator invokes rake with either the :env option, ENV['RAILS_ENV'], or ↵ | Jeremy Kemper | 2011-10-08 | 1 | -3/+5 |
| | | | | development. So if Travis has exported RAILS_ENV=test, it'll be used instead of development, breaking these brittle expectations. |