aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
Commit message (Collapse)AuthorAgeFilesLines
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-132-2/+2
| | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
* removes debug_rjs from ActionView::BaseXavier Noria2011-04-131-1/+0
|
* jQuery is the new defaultXavier Noria2011-04-132-7/+7
|
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵David Heinemeier Hansson2011-04-122-2/+2
| | | | suggestion!
* Keep the same API semantics for update/delete as we had for XML (just return ↵David Heinemeier Hansson2011-04-111-2/+2
| | | | 200 OK, no body)
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-112-2/+4
| | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
* Add --old-style-hash option to force creating old style hash on Ruby 1.9Prem Sichanugrist2011-04-102-2/+8
| | | | That means if you don't like the new syntax, you can pass --old-style-hash to force Rails to generate code with hash rockets.
* Rails will now generate Ruby 1.9 style hash when running app generator on ↵Prem Sichanugrist2011-04-103-3/+12
| | | | | | Ruby 1.9.x The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate.
* Rails will now generate Ruby 1.9 style hash when running scaffold_controller ↵Prem Sichanugrist2011-04-104-19/+29
| | | | | | | | generator on Ruby 1.9.x The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate. This patch has been requested by DHH.
* Make scaffold_controller generator generate code for JSON response instead ↵Prem Sichanugrist2011-04-101-14/+14
| | | | | | | | of XML It seems like a lot of people are using JSON in their API more than XML nowadays, so Rails should follow that convention by providing the JSON format block in scaffold_controller by default. This patch has been requested by DHH
* make turn a soft dependency. generate a Gemfile that contains turn and ↵Aaron Patterson2011-04-081-3/+7
| | | | require turn if it is available
* let these heredocs flow with the codeXavier Noria2011-03-281-14/+15
|
* Make edge and dev options use edge mysql2Santiago Pastorino2011-03-271-6/+14
|
* Add `config.force_ssl` configuration which will load `Rack::SSL` middleware ↵Prem Sichanugrist2011-03-272-12/+8
| | | | | | | | if set to true This will allow user to be able to force all requests to be under HTTPS protocol. This commit was a request from DHH. Special thanks to Josh Peek as well for making `Rack::SSL`.
* Fix test for prepend giving a false positive. [#5716 state:resolved]Aditya Sanghi2011-03-231-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* silence @dummy_path not defined warningsJack Dempsey2011-03-141-0/+1
|
* Add require 'date' to use Date.today in plugin template MIT-LICENSESamuel Kadolph2011-03-121-0/+1
|
* revises links to the API websites of individual components (no longer ↵Xavier Noria2011-03-091-1/+1
| | | | maintained), and rewrites the section about after and around filters in the controller guide
* The root route example was the only using double quotes; switched it to ↵Chris Kalafarski2011-03-081-1/+1
| | | | single quotes for consistency
* more "SSL everywhere" for GitHub URLsAkira Matsuda2011-03-071-1/+1
| | | | see: https://github.com/blog/738-sidejack-prevention-phase-2-ssl-everywhere
* Railties typos.R.T. Lechow2011-03-052-2/+2
|
* log and readme should respect --quietJosé Valim2011-03-041-3/+4
|
* revises a few details in public/index.htmlXavier Noria2011-02-281-7/+9
|
* Make sure the Thor generator LoadError does not output --dev twice [#6431 ↵Jeff Kreeftmeijer2011-02-271-1/+1
| | | | | | state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Tpyo: fixing several cases of the theNicholas Rowe2011-02-191-1/+1
|
* Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-181-2/+2
|\ | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association.rb activerecord/lib/active_record/fixtures.rb
| * Fixed issue #6363, avoid to pluralized already pluralized names and ↵Timothy N. Tsvetkov2011-02-161-2/+2
| | | | | | | | | | | | | | | | singularize a single in generators, for example stadia is a valid plural for stadium. But calling pluralize for stadia will return stadias which sematically is not corrent in this case [#6363 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-1512-1038/+2075
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/examples/performance.rb activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/nested_attributes.rb activerecord/test/cases/relations_test.rb
| * added proper require for ruby-debug19 gem to generated GemfileWojciech Wnętrzak2011-02-121-1/+1
| | | | | | | | | | | | [#6419 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Make rails.js include the CSRF token in the X-CSRF-Token header with every ↵Michael Koziarski2011-02-081-0/+16
| | | | | | | | ajax request.
| * Update jQuery UJSSantiago Pastorino2011-02-051-149/+143
| |
| * Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-02-021-1/+1
| |\
| | * corrected a mistake in the documentation for assert_migrationmisfo2011-01-291-1/+1
| | |
| * | Update to jQuery 1.5Santiago Pastorino2011-02-011-852/+1849
| | | | | | | | | | | | | | | Check out http://blog.jquery.com/2011/01/31/jquery-15-released/ for more information.
| * | updating Gemfile with more contemporary examplegeemus2011-01-311-1/+1
| | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * | Merge branch 'fix-gitignore' of https://github.com/telemachus/rails into ↵Mikel Lindsaar2011-01-301-1/+1
| |\ \ | | |/ | |/| | | | telemachus-fix-gitignore
| | * Minor fix to gitignore syntaxPeter Aronoff2011-01-141-1/+1
| | |
| * | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-01-201-2/+2
| |\ \
| | * | fixes rubycentral url and a minor AR changeVijay Dev2011-01-061-2/+2
| | | |
| * | | change sqlite3-ruby => sqlite3 in the generatorsAaron Patterson2011-01-163-15/+3
| | | |
| * | | README.rdoc is a templateSantiago Pastorino2011-01-151-1/+1
| | | |
| * | | plugin new generator should generate config/routes.rb file for full enginesSantiago Pastorino2011-01-142-2/+5
| | |/ | |/|
| * | fixes a comment in the generated app GemfileXavier Noria2011-01-121-1/+1
| | |
| * | adds a sample gem call for RedCloth in the generated app GemfileXavier Noria2011-01-121-0/+3
| | |
| * | Make sure that generator's default banner is showing its namespacePrem Sichanugrist2011-01-011-1/+1
| |/ | | | | | | This will make `rails g rspec:install --help` shows "rails generate rspec:install [options]" and not "rails generate install [options]"
| * Update JQuery UJSSantiago Pastorino2010-12-261-26/+48
| |
| * Update Prototype UJSSantiago Pastorino2010-12-261-29/+43
| |
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2010-12-2016-367/+482
|\| | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/persistence.rb
| * Do not load all application's task in generated enginePiotr Sarnacki2010-12-191-6/+3
| |
| * Use require 'bundler/setup' instead of directly calling Bundler.setup in ↵Piotr Sarnacki2010-12-171-10/+3
| | | | | | | | config/boot.rb