Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Fixed bug in active_record/nested_attributes where an empty string id caused ↵ | Santiago Pastorino | 2010-11-11 | 2 | -1/+9 | |
| | | | | | | | | | | | | | | | | an ActiveRecord::RecordNotFound error. Found by [Ben Tillman] [#5638 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Bump Arel up to 2.0.2 | Santiago Pastorino | 2010-11-11 | 1 | -1/+1 | |
| | | ||||||
* | | skip testing framework if app created with --skip-test-unit [#5796 ↵ | Rob Zolkos | 2010-11-11 | 2 | -0/+11 | |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Add missing autoload. | José Valim | 2010-11-11 | 1 | -0/+1 | |
| | | ||||||
* | | Remove unused Configurable in Rails::Engine and Rails::Application. Remove ↵ | zhengjia | 2010-11-11 | 3 | -5/+0 | |
| | | | | | | | | | | | | unnecessary railties load path in cli [#5871 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | provide better error message if path is uri [#5914 state:resolved] | Neeraj Singh | 2010-11-11 | 2 | -3/+16 | |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | The model generator shouldn't throw warnings when using mass nouns [#5363 ↵ | Jeff Kreeftmeijer | 2010-11-11 | 2 | -1/+6 | |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | fields_for should treat ActiveRecord::Relation as an array | Neeraj Singh | 2010-11-11 | 3 | -2/+33 | |
| | | | | | | | | | | | | [#5795 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Remove inline comment. | José Valim | 2010-11-11 | 1 | -17/+17 | |
| | | ||||||
* | | Make after_filter halt when before_filter renders or redirects [#5648 ↵ | Marcelo Giorgi | 2010-11-11 | 2 | -2/+81 | |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Fix render partial with layout and no block | Carlos Antonio da Silva | 2010-11-11 | 2 | -0/+12 | |
| | | | | | | | | | | | | | | | | When using a render :partial with :layout call, without giving a block, if the given :partial had another render :partial call, the layout was not being rendered. This commit fixes this context by storing variables before rendering the partial, so they are not overrided in any successive call to render partials down the path. All ActionPack tests are ok. | |||||
* | | Fix issue with rendering partials and then yielding inside a render layout call | Carlos Antonio da Silva | 2010-11-11 | 5 | -0/+26 | |
| | | | | | | | | | | | | | | The given block was never being executed when another render :partial call existed before the yield call, due to the block being overriden. This commit also adds some more tests to render with :layout option. | |||||
* | | patching to ensure separator is printed with order [#5816 state:resolved] | Aditya Sanghi | 2010-11-11 | 2 | -0/+43 | |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Allow AR Session Store to be renewed | José Valim | 2010-11-11 | 2 | -0/+21 | |
| | | ||||||
* | | Duck typing here | Santiago Pastorino | 2010-11-11 | 1 | -1/+1 | |
| | | ||||||
* | | Fix ActiveSupport::TimeWithZone#localtime method with DateTime | Alvaro Bautista | 2010-11-11 | 2 | -1/+12 | |
| | | | | | | | | | | | | [#5344 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | restores the example for fixed-width font in API guidelines | Xavier Noria | 2010-11-10 | 1 | -0/+10 | |
| | | ||||||
* | | Remove copy_instance_variables_from from guides | Santiago Pastorino | 2010-11-10 | 2 | -45/+0 | |
| | | ||||||
* | | Remove unused method | Santiago Pastorino | 2010-11-10 | 2 | -62/+0 | |
| | | ||||||
* | | Remove useless cgi | Denis Odorcic | 2010-11-10 | 4 | -36/+0 | |
| | | | | | | | | | | | | [#5943 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | syncs CHANGELOGs for 3.0.2 in 3-0-stable with the ones in master | Xavier Noria | 2010-11-09 | 6 | -2/+49 | |
| | | ||||||
* | | Double negation of an already boolean value produces the same result | Santiago Pastorino | 2010-11-09 | 1 | -1/+1 | |
| | | ||||||
* | | Don't check if persisted is defined just initialize it properly | Santiago Pastorino | 2010-11-09 | 3 | -4/+1 | |
| | | ||||||
* | | Execute less operations | Santiago Pastorino | 2010-11-09 | 1 | -2/+1 | |
| | | ||||||
* | | use persisted? instead of new_record? wherever possible | David Chelimsky | 2010-11-09 | 35 | -196/+203 | |
| | | | | | | | | | | | | | | | | | | | | | | - persisted? is the API defined in ActiveModel - makes it easier for extension libraries to conform to ActiveModel APIs without concern for whether the extended object is specifically ActiveRecord [#5927 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | registers number_to_currency's :negative_format in the CHANGELOG | Xavier Noria | 2010-11-09 | 1 | -0/+2 | |
| | | ||||||
* | | Strip regexp anchors from rake routes output [#5934 state:resolved] | Andrew White | 2010-11-09 | 2 | -1/+11 | |
| | | ||||||
* | | Test cache.key_file_path with separators ht. Jim Wilson [#5611] | Santiago Pastorino | 2010-11-07 | 1 | -0/+5 | |
| | | ||||||
* | | Fix FileStore cache incorrectly regenerating its key from a pathname when a ↵ | Denis Odorcic | 2010-11-07 | 2 | -4/+7 | |
| | | | | | | | | | | | | | | | | regexp is used in expire_fragment [#5850 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Update the validates_uniqueness_of documentation to tell you to use a unique ↵ | Michael Koziarski | 2010-11-08 | 1 | -25/+17 | |
| | | | | | | | | | | | | index. The other options mentioned were not good ideas and disclaimed as such in the documentation. | |||||
* | | Make safe_append= live on AV::OutputBuffer not AS::SafeBuffer | Michael Koziarski | 2010-11-08 | 2 | -1/+1 | |
| | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/template/handlers/erb.rb | |||||
* | | Added support for Erubis <%== tag | Jan Maurits Faber | 2010-11-08 | 3 | -1/+16 | |
| | | | | | | | | | | | | | | <%== x %> is syntactic sugar for <%= raw(x) %> Signed-off-by: Michael Koziarski <michael@koziarski.com> [#5918 status:committed] | |||||
* | | OrderedHash#select now preserves order [#5843 state:resolved] | James A. Rosen | 2010-11-07 | 2 | -0/+10 | |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Make cookies hash in ActionDispatch::TestProcess indifferent access [#5761 ↵ | David Trasbo | 2010-11-07 | 2 | -1/+19 | |
| | | | | | | | | | | | | state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Ensure that HashWithIndifferentAccess duplication preserves class (for ↵ | laserlemon | 2010-11-07 | 2 | -3/+18 | |
| | | | | | | | | | | | | sublclasses) and default value [#5724 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | use column names as order by complex function parameters, fix for postgresql ↵ | Raimonds Simanovskis | 2010-11-07 | 2 | -13/+3 | |
| | | | | | | | | | | | | adapter to correctly remove ASC/DESC Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | reduce duplication in assiciations #construct() | Aaron Patterson | 2010-11-06 | 1 | -9/+3 | |
| | | ||||||
* | | Move @assigns from the controller to the test itself | Santiago Pastorino | 2010-11-06 | 2 | -1/+1 | |
| | | ||||||
* | | Fix problems trying to functional test AC::Metal controllers | Santiago Pastorino | 2010-11-06 | 3 | -11/+10 | |
| | | | | | | | | [#5393 state:committed] | |||||
* | | make sure we keep parent records in order | Aaron Patterson | 2010-11-06 | 1 | -6/+6 | |
| | | ||||||
* | | only call to_s on the association variable once | Aaron Patterson | 2010-11-05 | 1 | -2/+5 | |
| | | ||||||
* | | simplify instantiate in the join parts object | Aaron Patterson | 2010-11-05 | 1 | -8/+7 | |
| | | ||||||
* | | index is not used, so removing it | Aaron Patterson | 2010-11-05 | 1 | -1/+1 | |
| | | ||||||
* | | reduce method calls to the join base object | Aaron Patterson | 2010-11-05 | 1 | -4/+6 | |
| | | ||||||
* | | Correctly handle the case of an API response that returns a hash by treating ↵ | Chris Eppstein | 2010-11-06 | 2 | -1/+17 | |
| | | | | | | | | a single hash argument as the resource instead of as options. | |||||
* | | stop recursively calling exists? | Aaron Patterson | 2010-11-05 | 1 | -3/+5 | |
| | | ||||||
* | | Bring back ruby-debug19 for Ruby versions < 1.9.3 | Santiago Pastorino | 2010-11-05 | 1 | -0/+5 | |
| | | ||||||
* | | Avoid warning: shadowing outer local variable | Santiago Pastorino | 2010-11-05 | 1 | -2/+2 | |
| | | ||||||
* | | Fixes queries using limits and punctuation in order, removes order("col1, ↵ | Santiago Pastorino | 2010-11-05 | 5 | -8/+29 | |
| | | | | | | | | | | | | col2") usage in favor of order(["col1", "col2"}) [#4597 state:committed] | |||||
* | | renaming exec in the mysql adapter | Aaron Patterson | 2010-11-05 | 2 | -15/+15 | |
| | |