Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove warning in namespaced generator test | Carlos Antonio da Silva | 2012-05-19 | 1 | -1/+1 | |
| | ||||||
* | Fix railties tests | Piotr Sarnacki | 2012-05-19 | 1 | -1/+1 | |
| | | | | | Minitest uses different signature for assert_no_match, so we have to swap arguments. | |||||
* | Revert changes related to `bundle install` fixes in `rails new` | Piotr Sarnacki | 2012-05-17 | 1 | -7/+2 | |
| | | | | | | | | | | | Reverted changes: f3482a9 Fix tests in railties 5904295 improve #6318 aed906a prevent using already loaded Gemfile for 'bundle install' In order to fix this, we need a fix in bundler related to GEM_PATH, which will allow to run tests properly. I will get this changes back when it happens. | |||||
* | Fix tests in railties | Piotr Sarnacki | 2012-05-15 | 1 | -1/+1 | |
| | | | | | | | | Since `bundle install` was fixed in `rails plugin new`, it now requires `rails 4.0.0.beta` version in filesystem when running tests. Instead of providing it, we can run tested command with `--dev` option, to use rails from the local directory. | |||||
* | improve #6318 | Michal Papis | 2012-05-15 | 1 | -1/+6 | |
| | ||||||
* | 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 | |
| | ||||||
* | Failing test for #6251 | Piotr Sarnacki | 2012-05-10 | 1 | -0/+7 | |
| | ||||||
* | Adding test for humans.txt | Arun Agrawal | 2012-05-08 | 1 | -0/+6 | |
| | ||||||
* | Fix build for railties generators | Arun Agrawal | 2012-05-02 | 2 | -3/+3 | |
| | ||||||
* | build fix for SharedGeneratorTests | Arun Agrawal | 2012-05-02 | 1 | -2/+2 | |
| | ||||||
* | Build fix for plugin new generator change | Carlos Antonio da Silva | 2012-05-01 | 1 | -2/+2 | |
| | | | | Related to a06a84bf77082a7435973fa1b6c8254fb410f243 | |||||
* | Fix tests | Piotr Sarnacki | 2012-05-01 | 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 | |||||
* | | Namedspaced generator indent method test refactoring | Alexey Vakhov | 2012-04-26 | 1 | -3/+4 | |
| | | ||||||
* | | Merge pull request #5902 from avakhov/generator-no-indent-blank-lines | José Valim | 2012-04-25 | 1 | -0/+8 | |
|\ \ | | | | | | | Don't indent blank lines in named base generators | |||||
| * | | Don't indent blank lines in named base generators | Alexey Vakhov | 2012-04-25 | 1 | -0/+8 | |
| | | | ||||||
* | | | Remove lonely number sign | Alexey Vakhov | 2012-04-25 | 1 | -1/+1 | |
|/ / | ||||||
* | | Fix test | Santiago Pastorino | 2012-04-16 | 1 | -2/+2 | |
| | | ||||||
* | | fix scaffold_generator_test.rb and model_generator_test.rb | Arun Agrawal | 2012-04-16 | 2 | -8/+6 | |
| | | | | | | | | Broken after this 6a054b0038bac288a1f6e45feb5470f4ee492081 | |||||
* | | "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 | 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`. | |||||
* | | Avoid another blank line in generated migration and remove assertion as per ↵ | Marcelo Silveira | 2012-03-21 | 1 | -1/+0 | |
| | | | | | | | | @spastorino request | |||||
* | | Merge pull request #5532 from mhfs/migration_blank_line | José Valim | 2012-03-21 | 1 | -0/+1 | |
|\ \ | | | | | | | Remove blank line from generated migration | |||||
| * | | Remove blank line from generated migration | Marcelo Silveira | 2012-03-20 | 1 | -0/+1 | |
| |/ | ||||||
* / | Generate Migration Thats Adds Removed Index | Travis Jeffery | 2012-03-21 | 1 | -0/+18 | |
|/ | | | | | When generating a migration that removes a field with an index, the down will add both the field and its index. | |||||
* | Build fix for app_generator_test.rb | Arun Agrawal | 2012-03-18 | 1 | -1/+1 | |
| | ||||||
* | Remove --http. | José Valim | 2012-03-14 | 3 | -76/+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] | |||||
* | Generate special controller and functional test templates for http apps | Carlos Antonio da Silva | 2012-03-14 | 2 | -0/+43 | |
| | | | | | | | | | | | | The main goal is to not generate the format.html block in scaffold controller, and to generate a different functional test as we don't rely on redirects anymore, we should test for http responses. In addition to that, the :edit action is removed from the http controller and the edit route is not generated by default, as they usually do not make sense in this scenario. [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 | 2 | -16/+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 | |
| | ||||||
* | Refactor the test_unit scaffold generator to use the key_value method | Rafael Mendonça França | 2012-03-13 | 2 | -8/+8 | |
| | ||||||
* | 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-12 | 2 | -2/+9 | |
| | ||||||
* | Revert table_name= needs connection now, so just stub table_name | kennyj | 2012-03-07 | 1 | -1/+1 | |
| | ||||||
* | Only add the whitelist_attributes option if ActiveRecord is present | Rafael Mendonça França | 2012-03-04 | 1 | -0/+6 | |
| | ||||||
* | 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. | |||||
* | Fix tests, table_name= needs connection now, so just stub table_name | Piotr Sarnacki | 2012-03-04 | 1 | -1/+1 | |
| | ||||||
* | 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 | |
| |