aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Cant use inclusion in commands/application.rb as the frameworks havent all ↵David Heinemeier Hansson2011-04-111-2/+1
| | | | been required yet
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-118-8/+22
| | | | 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-082-6/+14
| | | | require turn if it is available
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-031-2/+2
|\
| * s/ERb/ERB/gAkira Matsuda2011-04-031-2/+2
| | | | | | | | | | The author of ERB sais, his eRuby implementation was originally named "ERb/ERbLight" and then renamed to "ERB" when started bundled as a Ruby standard lib. http://www2a.biglobe.ne.jp/~seki/ruby/erb.html
* | Moved Turn activation/dependency to railtiesDavid Heinemeier Hansson2011-03-312-1/+9
| |
* | Direct logging of Active Record to STDOUT so it's shown inline with the ↵David Heinemeier Hansson2011-03-311-0/+4
| | | | | | | | results in the console [DHH]
* | Engines that use isolate_namespace with nested modules should set correct ↵Rolf Timmermans2011-03-281-2/+2
| | | | | | | | module prefix for their routes.
* | 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-274-17/+23
| | | | | | | | 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`.
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-03-231-0/+8
|\
| * Beef up Rails::Railtie::Configuration docsGabriel Horner2011-03-191-0/+8
| |
* | 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
|
* Filter sensitive query string parameters in the log [#6244 state:committed]Prem Sichanugrist & Xavier Noria2011-03-111-1/+1
| | | | | | This provides more safety to applications that put secret information in the query string, such as API keys or SSO tokens. Signed-off-by: Xavier Noria <fxn@hashref.com>
* 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
* refactored Engine.#find by giving an explicit name to a variable and ↵Diego Carrion2011-03-091-3/+3
| | | | | | | | reducing calls [#6529 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* 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-054-6/+6
|
* log and readme should respect --quietJosé Valim2011-03-041-3/+4
|
* only compute path.to_s onceAaron Patterson2011-03-021-1/+4
|
* reduce two method calls per request, 1 to method_missing and one to sendAaron Patterson2011-02-281-0/+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>
* Always use ActionDispatch::ShowExceptions middleware [#6462 state:resolved]Prem Sichanugrist2011-02-251-1/+1
| | | | This will make sure the application will raise `ActionController::RoutingError` in case "X-Cascade: pass" header was set, usually when there's no route match.
* Make sure that we set `env["action_dispatch.show_exceptions"]`Prem Sichanugrist2011-02-251-1/+2
| | | | This has been used by `show_exception` middleware even the setting wasn't get passed to `env` hash.
* Tpyo: fixing several cases of the theNicholas Rowe2011-02-191-1/+1
|
* improve language and examples in Railtie docsJimmy Cuadra2011-02-181-33/+21
|
* 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-1523-1155/+2221
|\| | | | | | | | | | | | | | | | | | | | | | | 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>
| * Application's assets should have higher priority than engine's onesPiotr Sarnacki2011-02-091-1/+4
| | | | | | | | [#6388 state:resolved]
| * 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
| |
| * Drop remaining script/plugin sources referencesTim Pope2011-02-031-6/+1
| | | | | | | | | | | | [#3742 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * 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.
| * | Accept 'postgres' as a PostgreSQL driver name in dbconsole for non-AR ORMs ↵Akira Matsuda2011-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | like DataMapper and Sequel [#6180 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * | updating Gemfile with more contemporary examplegeemus2011-01-311-1/+1
| | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * | "rails dbconsole t" must not load "production" but "test"Akira Matsuda2011-01-311-1/+1
| | | | | | | | | | | | | | | | | | [#6293 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>