- 12 4月, 2011 11 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
adding client_encoding method for discovering the encoding set for this client, testing exec_insert on a string
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 José Valim 提交于
-
- 11 4月, 2011 11 次提交
-
-
由 José Valim 提交于
No need to rescue here. Invoking the wrong method in an object can happen anywhere if you are not careful. In other words, test your shit.
-
由 José Valim 提交于
Revert "Add :use_include option to allow user to explicitly use `Range#include?` method in Ruby 1.9" Use :with => range.to_a instead. This reverts commit f6540211.
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
由 Aaron Patterson 提交于
-
由 Prem Sichanugrist 提交于
It turned out that I overlook at some replacements ..
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Brian Cardarella 提交于
-
由 Prem Sichanugrist 提交于
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?.
-
This will allow you to check if an object is included in another object or the list of objects or not. This patch is derived from patch by Brian Morearty and John Reitano on Lighthouse ticket. I've rewrite it and make sure that we support both 'another object' and 'list of objects' version, as it surely be useful to support both.
-
- 10 4月, 2011 7 次提交
-
-
由 José Valim 提交于
-
由 Prem Sichanugrist 提交于
In Ruby 1.9 we're currently use `Range#cover?` to fix the performance problem. However, there might be the case that you want to use `Range#include?` instead. This patch will give you that option.
-
由 Prem Sichanugrist 提交于
Add support for proc or lambda as an option for InclusionValidator, ExclusionValidator, and FormatValidator You can now use a proc or lambda in :in option for InclusionValidator and ExclusionValidator, and :with, :without option for FormatValidator
-
由 Prem Sichanugrist 提交于
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.
-
由 Prem Sichanugrist 提交于
The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate.
-
由 Prem Sichanugrist 提交于
Rails will now generate Ruby 1.9 style hash when running scaffold_controller 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.
-
由 Prem Sichanugrist 提交于
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
-
- 09 4月, 2011 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
make turn a soft dependency. generate a Gemfile that contains turn and require turn if it is available
-
- 08 4月, 2011 2 次提交
-
-
由 James Robinson 提交于
Improved formatting of csrf_helper and improved test coverage
-
由 Aaron Patterson 提交于
* 'master' of github.com:rails/rails: Cache flash now Revert "Use freeze instead of close!" Revert "Eagerly load Signed and Permanent cookies" cookies here Eagerly load Signed and Permanent cookies Use freeze instead of close!
-
- 07 4月, 2011 7 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
This reverts commit 29592a7f.
-
由 Santiago Pastorino 提交于
This reverts commit dffeda37.
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-