aboutsummaryrefslogtreecommitdiffstats
path: root/railties
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-119-10/+26
| | | | 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-105-2/+25
| | | | 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-105-4/+23
| | | | | | 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-106-19/+50
| | | | | | | | 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-102-14/+16
| | | | | | | | 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-083-7/+14
| | | | require turn if it is available
* added find_zone and find_zone! to AS timezones and changed the AS Railtie to ↵Josh Kalderimis2011-04-051-0/+22
| | | | | | use find_zone! as well as adding Railtie tests Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* remove AM delegating register_observer and register_interceptor to Mail and ↵Josh Kalderimis2011-04-041-0/+65
| | | | | | instead implement smarter versions allowing for string class names, also added proper Railtie support with tests. Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-0311-59/+32
|\
| * added .'s to headings in the initialization textile pageorta2011-04-031-3/+2
| |
| * s/ERb/ERB/g (part II)Akira Matsuda2011-04-034-5/+5
| |
| * 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
| * fix typoburningTyger2011-04-011-1/+1
| |
| * Grammar tweaks to the guides guidelinesJosiah Ivey2011-03-311-9/+10
| |
| * Minor rephrasing to improve grammar and readability.mhutchin2011-03-291-1/+1
| |
| * Fixed typo and improved readability.mhutchin2011-03-291-1/+2
| |
| * Fix Basic Authentication examplesSebastian Martinez2011-03-282-3/+3
| |
| * Updated Basic Authentication guides to reflect new ↵Sebastian Martinez2011-03-282-36/+8
| | | | | | | | Base.http_basic_authenticate_with method
| * Minor typo correction.mhutchin2011-03-271-1/+1
| |
* | Gem::Specification#has_rdoc= is deprecated since rubygems 1.7.0Santiago Pastorino2011-04-021-1/+0
| |
* | Moved Turn activation/dependency to railtiesDavid Heinemeier Hansson2011-03-314-1/+12
| |
* | Direct logging of Active Record to STDOUT so it's shown inline with the ↵David Heinemeier Hansson2011-03-312-0/+6
| | | | | | | | results in the console [DHH]
* | Delegate first!, last!, any? and many? to scopedAndrew White2011-03-291-0/+20
| |
* | Update the wildcard route to be non-greedy by default, therefore be able to ↵Prem Sichanugrist2011-03-291-0/+12
| | | | | | | | | | | | | | | | match the (.:format) segment [#6605 state:resolved] After some discussion with Andrew White, it seems like this is a better approach for handling a wildcard route. However, user can still bring back the old behavior by supplying `:format => false` to the route. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
* | Engines that use isolate_namespace with nested modules should set correct ↵Rolf Timmermans2011-03-282-2/+41
| | | | | | | | 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
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-03-272-2/+4
|\
| * AR validations and callbacks guide: put update_attribute backXavier Noria2011-03-271-0/+2
| |
| * A little minor rephrasing for improved readability.mhutchin2011-03-271-1/+1
| |
| * Minor typo fix.mhutchin2011-03-271-1/+1
| |
| * Updated guides for new #update_column.Sebastian Martinez2011-03-261-2/+2
| |
* | Fix documentation typoPrem Sichanugrist2011-03-281-1/+1
| |
* | Add controller-specific `force_ssl` method to force web browser to use HTTPS ↵Prem Sichanugrist2011-03-281-0/+22
| | | | | | | | | | | | | | | | protocol This would become useful for site which sometime transferring sensitive information such as account information on particular controller or action. This featured was requested by DHH.
* | s/with/when/Xavier Noria2011-03-271-1/+1
| |
* | Add `config.force_ssl` configuration which will load `Rack::SSL` middleware ↵Prem Sichanugrist2011-03-279-18/+40
|/ | | | | | | | 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`.
* impact recent updates to #first! and #last! methodsSebastian Martinez2011-03-251-3/+3
|
* Update AR querying guide with #first! and #last! new methodsSebastian Martinez2011-03-251-0/+34
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-03-235-3/+27
|\
| * Update 'Getting Started on Windows' tip to go to one-click Rails InstallerDr Nic Williams2011-03-221-1/+1
| |
| * Caching guide: Capitalize 'Note' so that it's rendered as a proper noteRyan Bigg2011-03-231-1/+1
| |
| * Querying guide: mention that performing a where on an relation that contains ↵Ryan Bigg2011-03-221-1/+3
| | | | | | | | an includes statement will generate a LEFT OUTER JOIN rather than an INNER JOIN or another query
| * Querying guide: mention that performing a where on an relation that contains ↵Ryan Bigg2011-03-221-0/+14
| | | | | | | | an includes statement will generate a LEFT OUTER JOIN rather than an INNER JOIN or another query
| * Beef up Rails::Railtie::Configuration docsGabriel Horner2011-03-191-0/+8
| |
| * Add link to mailing-listNicolas Cavigneaux2011-03-161-1/+1
| |
* | Fix test for prepend giving a false positive. [#5716 state:resolved]Aditya Sanghi2011-03-232-3/+2
|/ | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-03-147-26/+20
|\
| * be be -> beXavier Noria2011-03-141-1/+1
| |