Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove some artifacts of dependent_restrict_raises that I missed | Jon Leighton | 2012-08-10 | 1 | -1/+0 |
| | |||||
* | Remove the dependent_restrict_raises option. | Jon Leighton | 2012-08-10 | 1 | -5/+0 |
| | | | | | | | | | | | | | | | It's not really a good idea to have this as a global config option. We should allow people to specify the behaviour per association. There will now be two new values: * :dependent => :restrict_with_exception implements the current behaviour of :restrict. :restrict itself is deprecated in favour of :restrict_with_exception. * :dependent => :restrict_with_error implements the new behaviour - it adds an error to the owner if there are dependent records present See #4727 for the original discussion of this. | ||||
* | Revert "The application generator generates `public/humans.txt` with some ↵ | David Heinemeier Hansson | 2012-08-07 | 1 | -5/+0 |
| | | | | basic data". I dont consider this something most people is going to want most of the time. If you want to add it in your own app, knock yourself out. But it doesnt belong in Rails imo | ||||
* | Fix app_generator_test with the changes introduced at | Rafael Mendonça França | 2012-05-30 | 1 | -1/+1 |
| | | | | f4d7af67ffc90f2542afa50c7579fc83ea4f45f2 | ||||
* | Remove not used date variable and another test warning | Carlos Antonio da Silva | 2012-05-14 | 1 | -2/+1 |
| | |||||
* | Remove assertion on date from humans.txt tests | José Valim | 2012-05-14 | 1 | -1/+1 |
| | |||||
* | Refactor App Generator Test | Oscar Del Ben | 2012-05-13 | 1 | -22/+20 |
| | |||||
* | Adding test for humans.txt | Arun Agrawal | 2012-05-08 | 1 | -0/+6 |
| | |||||
* | Fix build for railties generators | Arun Agrawal | 2012-05-02 | 1 | -1/+1 |
| | |||||
* | Merge pull request #5530 from ↵ | José Valim | 2012-04-30 | 1 | -0/+7 |
|\ | | | | | | | | | malclocke/add_option_to_skip_index.html_on_rails_generate Added a generator option to skip the public/index.html file | ||||
| * | Added a generator option to remove the public/index.html file when ↵ | Ivan Vanderbyl | 2012-03-21 | 1 | -0/+7 |
| | | | | | | | | | | | | | | generating a new Rails application The option is: -i, [--skip-index-html] # Skip public/index.html file | ||||
* | | Fix test | Santiago Pastorino | 2012-04-16 | 1 | -2/+2 |
| | | |||||
* | | "rails new -h" shows message in rails directory | ask | 2012-04-09 | 1 | -0/+10 |
| | | |||||
* | | Usage file in generators shouldn't be fetched only based on source_root | Piotr Sarnacki | 2012-04-01 | 1 | -1/+1 |
|/ | | | | | | | | 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`. | ||||
* | Build fix for app_generator_test.rb | Arun Agrawal | 2012-03-18 | 1 | -1/+1 |
| | |||||
* | Remove --http. | José Valim | 2012-03-14 | 1 | -33/+0 |
| | |||||
* | Do not generate app/views and sprockets entries on http app | Carlos Antonio da Silva | 2012-03-14 | 1 | -1/+16 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Rename http-only app generator option to http | Carlos Antonio da Silva | 2012-03-14 | 1 | -5/+5 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Remove duplicated tests from shared generator | Carlos Antonio da Silva | 2012-03-14 | 1 | -1/+2 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Generate middleware http_only! config when running http only app generator | Carlos Antonio da Silva | 2012-03-14 | 1 | -0/+6 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Add http-only option to Rails app generator | Carlos Antonio da Silva | 2012-03-14 | 1 | -0/+10 |
| | | | | | | | Change application controller template accordingly, to inherit from ActionController::HTTP and not generate protect_from_forgery call. [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | The sprockets railtie was moved to sprockets/rails/railtie | Guillermo Iguaran | 2012-03-13 | 1 | -1/+1 |
| | |||||
* | Only add the whitelist_attributes option if ActiveRecord is present | Rafael Mendonça França | 2012-03-04 | 1 | -0/+6 |
| | |||||
* | 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. | ||||
* | 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 |
| | |||||
* | Add therubyracer gem commented in default Gemfile | Guillermo Iguaran | 2012-01-12 | 1 | -4/+2 |
| | |||||
* | Rails::Plugin has gone | Santiago Pastorino | 2012-01-03 | 1 | -1/+0 |
| | |||||
* | Get rid of more 1.8.x dead code | José Valim | 2011-12-20 | 1 | -9/+2 |
| | |||||
* | Get rid of --old-style-hash | José Valim | 2011-12-20 | 1 | -12/+1 |
| | |||||
* | 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 | 1 | -1/+0 |
| | |||||
* | 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 |
|/ | |||||
* | 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 therubyrhino to default Gemfile under JRuby | Guillermo Iguaran | 2011-11-14 | 1 | -0/+7 |
| | |||||
* | 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 |
| | |||||
* | Merge pull request #2390 from arunagw/test_for_environment_file | Santiago Pastorino | 2011-08-24 | 1 | -0/+9 |
|\ | | | | | Test added to check development.rb, test.rb and production.rb content | ||||
| * | Test added to check mass_assignment_sanitizer is not present if ↵ | Arun Agrawal | 2011-08-03 | 1 | -0/+9 |
| | | | | | | | | --skip-active-record provided. |