Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Concernify SanitizeHelper and TextHelper so including TextHelper correctly ↵ | wycats | 2010-08-04 | 2 | -0/+4 |
| | | | | include SanitizeHelper and extends its ClassMethods | ||||
* | If a file is in the load path, require it without its full path (in more places) | wycats | 2010-08-04 | 1 | -2/+7 |
| | |||||
* | require_dependency should require using the normal mechanism if possible to ↵ | wycats | 2010-08-04 | 1 | -7/+15 |
| | | | | avoid double-requires | ||||
* | avoid passing AR::Base objects to Arel when we can | Aaron Patterson | 2010-08-03 | 1 | -0/+2 |
| | |||||
* | query value is converted to_s instead of to_yaml | RainerBlessing | 2010-08-03 | 2 | -1/+9 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Put lib back on the autoload path | wycats | 2010-08-03 | 1 | -1/+1 |
| | |||||
* | Allow :name to be a Symbol (was this removed by accident?) | wycats | 2010-08-03 | 1 | -0/+2 |
| | |||||
* | Tidy up error.rb code | Subba Rao Pasupuleti | 2010-08-03 | 1 | -5/+1 |
| | | | | | | [#5288 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | order query is already a string, no need to to_s | Aaron Patterson | 2010-08-03 | 1 | -2/+2 |
| | |||||
* | Stub is_a? not instance_of? here | Santiago Pastorino | 2010-08-03 | 1 | -1/+1 |
| | |||||
* | Freeze options so we raise an error when people modify it in place. | José Valim | 2010-08-03 | 2 | -3/+5 |
| | |||||
* | validates_length_of should not change the options hash in place. [#5283 ↵ | José Valim | 2010-08-03 | 1 | -4/+7 |
| | | | | state:resolved] | ||||
* | Failing test for validates_length_of, when both too_short and too_long ↵ | rohit | 2010-08-03 | 1 | -0/+14 |
| | | | | | | messages are set [#5283 state:open] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Avoid potentially expensive inspect call in router. [#4491 state:resolved] | Samuel Lebeau | 2010-08-03 | 1 | -3/+6 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Refactor log-tailer to depend on File#eof? rather than File#mtime | Curtis Cablegram | 2010-08-03 | 1 | -4/+1 |
| | | | | | | | | [#5220 state:resolved] Eliminate 1 instance variable and 1 local variable. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Change log-tailer to properly track multi-byte characters. | Curtis Cablegram | 2010-08-03 | 1 | -1/+1 |
| | | | | | | | | When end-of-line is represented within a file as "\r\n", it is represented in memory as a single "\n". This patch eliminates the discrepancy between size on disk and size in memory. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove or fix non-working examples and add a few tests to Dirty [#5185 ↵ | Tore Darell | 2010-08-03 | 2 | -12/+87 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | adding test cases for ActiveModel::Errors | Neeraj Singh | 2010-08-03 | 1 | -0/+65 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Dynamic finder method like scoped_by_* create methods so that | Neeraj Singh | 2010-08-03 | 1 | -0/+6 |
| | | | | | | | method_missing is not hit next time. Adding a test for this scenario. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Making Active Record base_test.rb thinner by moving tests | Neeraj Singh | 2010-08-03 | 5 | -534/+545 |
| | | | | | | | | | | | | to relevant files. Number of assertions before refactoring: 2391 tests, 7579 assertions, 0 failures, 0 errors Number of assertions after refactoring: 2391 tests, 7579 assertions, 0 failures, 0 errors Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge remote branch 'docrails/master' into 3-0-stable | Xavier Noria | 2010-08-03 | 26 | -497/+707 |
|\ | |||||
| * | Correcting the documentation which wrongly states that each dynamic finder ↵ | Neeraj Singh | 2010-08-02 | 1 | -7/+4 |
| | | | | | | | | | | | | | | creates method on the class. Only dynamic finders using <tt>scoped_by_*</tt> creates new methods. | ||||
| * | Adding to AR::Base documentation about dynamically scopeded_by query | Neeraj Singh | 2010-08-02 | 2 | -11/+19 |
| | | | | | | | | User.scoped_by_user_name('David') | ||||
| * | ensuring that description does not exceed 100 columns | Neeraj Singh | 2010-08-02 | 19 | -138/+205 |
| | | |||||
| * | updating documentation to ensure line does not exceed 100 columns | Neeraj Singh | 2010-08-02 | 2 | -94/+136 |
| | | |||||
| * | ensuring that documentation does not exceed 100 columns | Neeraj Singh | 2010-08-01 | 3 | -194/+282 |
| | | |||||
| * | ensuring that documentation does not exceed 100 columns | Neeraj Singh | 2010-07-31 | 1 | -51/+65 |
| | | |||||
| * | adding the missing closing tag | Neeraj Singh | 2010-07-31 | 1 | -1/+1 |
| | | |||||
| * | fixing documentation just a little bit | Neeraj Singh | 2010-07-31 | 2 | -22/+16 |
| | | |||||
* | | Bring returning back to ease migration. | José Valim | 2010-08-02 | 2 | -0/+44 |
| | | |||||
* | | Remove duplicated logic. | José Valim | 2010-08-02 | 1 | -7/+9 |
| | | |||||
* | | Eager loading an association should not change the count of children | Neeraj Singh | 2010-08-02 | 6 | -0/+42 |
| | | | | | | | | | | | | [#4971 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | fix loading of different elements in array then int and string [#5036 ↵ | Josef Reidinger | 2010-08-02 | 2 | -3/+15 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Tidy up previous commit. | José Valim | 2010-08-02 | 3 | -18/+16 |
| | | |||||
* | | test and fix collection_singular_ids= with string primary keys [#5125 ↵ | Robert Pankowecki | 2010-08-02 | 4 | -3/+46 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Handle edge cases in the previous patch. | José Valim | 2010-08-02 | 1 | -1/+2 |
| | | |||||
* | | Improved how AppGenerator generates the application name. It now detects the ↵ | Fred Wu | 2010-08-02 | 2 | -1/+29 |
| | | | | | | | | | | | | | | | | current app name whenever possible. This means that renaming the residing directory will not effect the app name generated by AppGenerator. [#5225 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | ActiveModel::Errors json serialization to work as Rails 3b4 [#5254 ↵ | Alex Le | 2010-08-02 | 3 | -6/+22 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Add missing require in ActiveSupport::HashWithIndifferentAccess [#5189 ↵ | Chris Hoffman | 2010-08-02 | 1 | -0/+1 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Merge branch 'master' of github.com:rails/rails | José Valim | 2010-08-02 | 2 | -1/+16 |
|\ \ | |||||
| * | | Makes rails destroy scaffold don't duplicate routes.draw do |map| |map| when ↵ | Santiago Pastorino | 2010-08-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | using the deprecated syntax [#5263 state:committed] | ||||
| * | | Failing test to check for route file corruption if legacy map parameter is ↵ | rohit | 2010-08-02 | 1 | -0/+15 |
| | | | | | | | | | | | | used. [#5263 state:open] | ||||
* | | | Add an internal (private API) after_touch callback. [#5271 state:resolved] | José Valim | 2010-08-02 | 5 | -19/+24 |
| | | | |||||
* | | | added failing touch propagation test | Jakub Kuźma | 2010-08-02 | 2 | -0/+19 |
|/ / | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Corrected the rake test:units and test:functionals description [#5251 ↵ | Prashant P. Shah | 2010-08-01 | 1 | -1/+1 |
| | | | | | | | | | | | | state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | Use AS::OrderedHash when trusting in the order of the hash | Santiago Pastorino | 2010-08-01 | 1 | -2/+3 |
| | | |||||
* | | Fix label form helper to use I18n and html options, without the need of ↵ | Carlos Antonio da Silva | 2010-08-01 | 2 | -5/+13 |
| | | | | | | | | | | | | | | | | | | | | | | 'nil' text param: Before: f.label :title, nil, :class => 'title' After : f.label :title, :class => 'title' [#5267 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | Makes form_helper use overriden model accessors | Santiago Pastorino | 2010-08-01 | 2 | -3/+20 |
| | | | | | | | | [#3374 state:committed] | ||||
* | | explains Array.wrap directly, rather by comparison with Kernel#Array which ↵ | Xavier Noria | 2010-08-01 | 2 | -4/+48 |
| | | | | | | | | is too obscure, leaves the comparison to document the differences, and adds a comparison with the related idiom that uses the splat operator | ||||
* | | DHH forgot to remove JS, CSS in generated index.html [#5261 state:resolved] | Johan Lundström | 2010-07-31 | 1 | -23/+0 |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> |