aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* namespacing connection management tests. :heart:Aaron Patterson2011-03-281-18/+22
|
* sql logger ignores schema statementsAaron Patterson2011-03-283-2/+32
|
* Bring #reorder backSebastian Martinez2011-03-284-3/+13
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Engines that use isolate_namespace with nested modules should set correct ↵Rolf Timmermans2011-03-282-2/+41
| | | | module prefix for their routes.
* Added new #update_column method.Sebastian Martinez2011-03-2714-21/+132
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* 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
|
* Revert "Removed #update_attribute method. New #update_column method."Sebastian Martinez2011-03-2713-78/+80
| | | | | | This reverts commit 45c233ef819dc7b67e259dd73f24721fec28b8c8. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-03-273-9/+10
|\
| * 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
| |
| * Proc objects for cache_path for caches_action no longer need controller ↵Ryan Bigg2011-03-261-7/+6
| | | | | | | | object, nor to use send when calling routing helpers
* | Fix documentation typoPrem Sichanugrist2011-03-281-1/+1
| |
* | Add controller-specific `force_ssl` method to force web browser to use HTTPS ↵Prem Sichanugrist2011-03-286-0/+144
| | | | | | | | | | | | | | | | 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`.
* | fixes a couple of regexps, the suite showed warnings about themXavier Noria2011-03-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A couple of things worth mentioning here: - "{" is a metacharacter, should be escaped if it is meant to match a "{". The code worked, though, because the regexp engine is tolerant to this, but issued warnings. - gsub accepts a string as first argument. That's the best idiom to use when your pattern has no metacharacters, since gsub interprets the string as an exact substring to look for, rather than a regexp. The benefit is that your pattern is crystal clear and needs no backslashes.
* | Fix alias_method, add testDavid Heinemeier Hansson2011-03-272-1/+2
| |
* | cleaning up typecast test a littleAaron Patterson2011-03-261-6/+8
| |
* | refactoring tz to a variable rather than repeating itAaron Patterson2011-03-261-2/+4
| |
* | Allow FormHelper#form_for to specify the :method as a direct option instead ↵David Heinemeier Hansson2011-03-263-4/+36
| | | | | | | | of through the :html hash [DHH]
* | adding a test for attributes after type cast. thanks nragaz. :heart:Aaron Patterson2011-03-261-0/+17
| |
* | Make JavaScriptHelper#j() an alias for JavaScriptHelper#escape_javascript() ↵David Heinemeier Hansson2011-03-262-0/+7
| | | | | | | | -- note this then supersedes the Object#j() method that the JSON gem adds within templates using the JavaScriptHelper [DHH]
* | Removed #update_attribute method. New #update_column method.Sebastian Martinez2011-03-2613-80/+78
|/ | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-03-261-3/+3
|\
| * impact recent updates to #first! and #last! methodsSebastian Martinez2011-03-251-3/+3
| |
* | removes unnecessary selfs, and mentions that first! and last! take no ↵Xavier Noria2011-03-261-4/+6
|/ | | | arguments in their API docs
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-03-251-0/+34
|\
| * Update AR querying guide with #first! and #last! new methodsSebastian Martinez2011-03-251-0/+34
| |
* | No arguments for first! and last!Pratik Naik2011-03-251-4/+4
| |
* | comment typo fixJosh Susser2011-03-251-2/+2
| |
* | fixing whitespace errors. :bomb:Aaron Patterson2011-03-251-2/+2
| |
* | correction to the outputted controller name in the diagnostics error ↵Josh Kalderimis2011-03-242-1/+17
| | | | | | | | | | | | template, test included Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | add #first! and #last! to models & relationsJosh Susser2011-03-242-0/+34
| |
* | Fix filter :only and :except with implicit actionsAndrew White2011-03-232-12/+17
| | | | | | | | | | | | | | The method_name argument is "default_render" for implicit actions so use the action_name attribute to determine which callbacks to run. [#5673 state:resolved]
* | Add a failing test case for an implicit action with a before filter.Manfred Stienstra2011-03-233-0/+24
| | | | | | | | Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
* | Fix before_type_cast for timezone aware attributes by caching converted ↵Adam Meehan2011-03-232-19/+16
| | | | | | | | value on write. Also remove read method reload arg on timezone attributes.
* | Make clearing of HABTM join table contents happen in an after_destory callback.Murray Steele2011-03-231-12/+12
| | | | | | | | The old method of redefining destroy meant that clearing the HABTM join table would happen as long as the call to destroy succeeded. Which meant if there was a before_destroy that stopped the instance being destroyed using normal means (returning false, raising ActiveRecord::Rollback) rather than exceptional means the join table would be cleared even though the instance wasn't destroyed. Doing it in an after_destroy hook avoids this and has the advantage of happening inside the DB transaction too.
* | Failing test case to show that habtm join table contents are removed when a ↵Murray Steele2011-03-231-0/+34
|/ | | | model is destroyed but the destruction is blocked by a before_destroy.
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-03-238-7/+36
|\
| * 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
| |
| * remove bank linePaco Guzman2011-03-181-1/+0
| |
| * Add link to mailing-listNicolas Cavigneaux2011-03-161-1/+1
| |
| * Remove incorrect comment that a default value of NULL cannot be set with ↵Manuel Meurer2011-03-161-3/+2
| | | | | | | | change_column_default.