aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge pull request #5835 from asanghi/masterJeremy Kemper2012-04-161-1/+1
|\ \ \ \ | | | | | | | | | | Update Gemfile to use 'debugger' instead of unmaintained 'ruby-debug19'
| * | | | Hey, let's just make it easier for everyone and dump the unmaintained ↵Aditya Sanghi2012-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | ruby-debug19 and move to debugger. Whats the consensus here? If we want better adoption on ruby1.9, please lets just use this fork.
* | | | | Make log_level explicit in production.rb templateRodrigo Rosenfeld Rosas2012-04-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'production' environment name is currently checked for setting up the default log_level to 'info' but that won't work if the environment is copied to staging.rb, for instance. Better to have it explicitly set.
* | | | | Automatically create indexes for references/belongs_to statements in migrations.Joshua Wood2012-04-141-0/+4
| | | | |
* | | | | remove extra new line from generated GemfileVasiliy Ermolovich2012-04-141-1/+1
|/ / / /
* | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-122-2/+5
|\ \ \ \
| * | | | copy editing [ci skip]Vijay Dev2012-04-111-3/+2
| | | | |
| * | | | Fix code example in generator test casePrem Sichanugrist2012-04-091-2/+2
| | | | |
| * | | | Added instructions on port numberGaurish Sharma2012-04-091-0/+4
| | | | |
* | | | | Merge pull request #5748 from ai/no_type_in_html5Jeremy Kemper2012-04-084-5/+5
|\ \ \ \ \ | |/ / / / |/| | | | Remove unnecessary in HTML 5 type attribute with default value
| * | | | Remove unnecessary in HTML 5 type attribute with default valueAndrey A.I. Sitnik2012-04-054-5/+5
| | | | |
* | | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-052-14/+13
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | minor fixes [ci skip]Vijay Dev2012-04-051-2/+2
| | | | |
| * | | | added example, removed blank linesHrvoje Šimić2012-04-042-14/+13
| | | | |
* | | | | Merge pull request #5716 from jurriaan/tr-gsub-cleanupSantiago Pastorino2012-04-042-2/+2
|\ \ \ \ \ | |/ / / / |/| | | | Updated/changed unneeded tr/gsubs
| * | | | Updated/changed useless tr/gsubsJurriaan Pruis2012-04-032-2/+2
| | | | |
* | | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-041-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | Conflicts: guides/source/engines.textile
| * | | | Correct invalid route example [ci skip]Cezary Baginski2012-04-021-1/+1
| | | | |
* | | | | Usage file in generators shouldn't be fetched only based on source_rootPiotr Sarnacki2012-04-011-4/+17
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* | | | clarification to prevent confusing newbies; Passenger/Unicorn are app ↵Michael de Silva2012-03-281-1/+1
| | | | | | | | | | | | | | | | servers, Apache/Nginx are the web servers along with thin a la Heroku etc.
* | | | Changed the config.assets.manifest to nil in the comments in the production ↵Anuj Dutta2012-03-281-1/+1
| | | | | | | | | | | | | | | | config template.
* | | | Adding comma to correct syntax in comment.Jesse Brown2012-03-191-1/+1
|/ / /
* | | Rubyracer does not work on ruby, so add it to Gemfile with :ruby platform onlyPiotr Sarnacki2012-03-171-1/+1
| | |
* | | Remove --http.José Valim2012-03-148-137/+6
| | |
* | | Fix scaffold controller template, ensure rake scaffold test pass by defaultCarlos Antonio da Silva2012-03-141-2/+2
| | |
* | | Do not generate app/views and sprockets entries on http appCarlos Antonio da Silva2012-03-141-0/+5
| | | | | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino]
* | | Generate special controller and functional test templates for http appsCarlos Antonio da Silva2012-03-145-3/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 httpCarlos Antonio da Silva2012-03-143-5/+5
| | | | | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino]
* | | Move http only option to AppGeneratorCarlos Antonio da Silva2012-03-142-3/+3
| | | | | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino]
* | | Generate middleware http_only! config when running http only app generatorCarlos Antonio da Silva2012-03-141-1/+10
| | | | | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino]
* | | Add http-only option to Rails app generatorCarlos Antonio da Silva2012-03-143-5/+8
| | | | | | | | | | | | | | | | | | | | | Change application controller template accordingly, to inherit from ActionController::HTTP and not generate protect_from_forgery call. [Carlos Antonio da Silva & Santiago Pastorino]
* | | Add ActionController::HTTPSantiago Pastorino2012-03-141-1/+1
| | | | | | | | | | | | | | | | | | More info http://edgeguides.rubyonrails.org/api_app.html [Carlos Antonio da Silva & Santiago Pastorino]
* | | Remove key_value helper now that master is 1.9 only and we always useRafael Mendonça França2012-03-139-35/+21
| | | | | | | | | | | | the 1.9 hash syntax in the generators.
* | | Add sprockets-rails to generated Gemfile. This should be reverted after ↵Guillermo Iguaran2012-03-131-0/+2
| | | | | | | | | | | | sprockets-rails release on rubygems
* | | The sprockets railtie was moved to sprockets/rails/railtieGuillermo Iguaran2012-03-132-2/+2
| | |
* | | Merge pull request #5415 from rafaelfranca/refactorJosé Valim2012-03-131-1/+1
|\ \ \ | | | | | | | | Refactor the test_unit scaffold generator to use the key_value method
| * | | Refactor the test_unit scaffold generator to use the key_value methodRafael Mendonça França2012-03-131-1/+1
| | | |
* | | | Merge pull request #572 from sikachu/remove_activeresourceJosé Valim2012-03-132-2/+0
|\ \ \ \ | | | | | | | | | | Remove Active Resource source files from the repository.
| * | | | Remove Active Resource source files from the repositoryPrem Sichanugrist2012-03-132-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dear Active Resource, It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository. I will miss you, @sikachu.
* | | | | Check for existence of exactly the called `fixture_path=` methodPiotr Sarnacki2012-03-131-2/+2
|/ / / /
* | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-131-0/+2
|\ \ \ \ | |/ / / |/| | |
| * | | Advise to keep secret token privateFilipe Moreira2012-03-121-0/+2
| | | |
* | | | Merge pull request #5397 from rafaelfranca/fix-scaffoldJosé Valim2012-03-132-2/+23
|\ \ \ \ | | | | | | | | | | Do not use the attributes hash in the scaffold functional tests
| * | | | Use the attributes hash explicitlyRafael Mendonça França2012-03-132-6/+18
| | | | |
| * | | | Do not use the attributes hash in the scaffold functional testsRafael Mendonça França2012-03-122-2/+11
| | | | |
* | | | | Fixed problem when fixture_path is not always defined (incidentally, only ↵Philip Arndt2012-03-131-1/+3
| | | | | | | | | | | | | | | | | | | | when ActiveRecord is according to test_help.rb).
* | | | | Fixes issue #5193 using the instructions provided in the issue.Philip Arndt2012-03-131-0/+3
| | | | |
* | | | | allow people to specify custom formatters, use the default formatter in ↵Aaron Patterson2012-03-121-0/+3
|/ / / / | | | | | | | | | | | | production so that PID and timestamp are logged. fixes #5388
* | | | Merge pull request #5326 from lest/patch-2Michael Koziarski2012-03-101-1/+3
|\ \ \ \ | |/ / / |/| | | configure how unverified request will be handled
| * | | configure how unverified request will be handledSergey Nartimov2012-03-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can be configured using `:with` option in `protect_from_forgery` method or `request_forgery_protection_method` config option possible values: - :reset_session (default) - :exception new applications are generated with: protect_from_forgery :with => :exception