Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | We don't need gem tasks, we have a gemspec | Piotr Sarnacki | 2010-11-02 | 1 | -17/+0 | |
| | | | ||||||
| * | | Builder should not be responsible for running store_application_definition ↵ | Piotr Sarnacki | 2010-11-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | method | |||||
| * | | Make tests for app and plugin generators more DRY | Piotr Sarnacki | 2010-11-02 | 9 | -288/+220 | |
| | | | ||||||
| * | | Allow easy overriding of test framework in 'rake plugin new' generator, ↵ | Piotr Sarnacki | 2010-11-02 | 5 | -16/+55 | |
| | | | | | | | | | | | | using PluginBuilder | |||||
| * | | Ensure that tests run properly | Piotr Sarnacki | 2010-11-02 | 1 | -0/+7 | |
| | | | ||||||
| * | | Change // style regexp to %r{}, to not confuse editors code highlighting | Piotr Sarnacki | 2010-11-02 | 1 | -1/+1 | |
| | | | ||||||
| * | | Add --dev and --edge options to rails plugin new | Piotr Sarnacki | 2010-11-02 | 6 | -25/+61 | |
| | | | ||||||
| * | | Added USAGE for rails plugin new | Piotr Sarnacki | 2010-11-02 | 1 | -0/+10 | |
| | | | ||||||
| * | | That method is already declared at AppBase | Piotr Sarnacki | 2010-11-02 | 1 | -23/+0 | |
| | | | ||||||
| * | | Add support for templates for rails plugin new | Piotr Sarnacki | 2010-11-02 | 4 | -15/+50 | |
| | | | ||||||
| * | | Ensure that options for plugin new generator are not passed to application ↵ | Piotr Sarnacki | 2010-11-02 | 2 | -1/+7 | |
| | | | | | | | | | | | | generator | |||||
| * | | Refactored AppGenerator and PluginNewGenerator to inherit from AppBase. | Piotr Sarnacki | 2010-11-02 | 3 | -57/+79 | |
| | | | ||||||
| * | | Added 'rails plugin new' generator which generates gem plugin skeleton. | Piotr Sarnacki | 2010-11-02 | 21 | -1/+607 | |
| | | | | | | | | | | | | | | | | | | This command is based on enginex gem by José Valim. It generates gem structure and ads dummy application into test/dummy. This can be used to start developing any kind of extension for rails 3. | |||||
* | | | STI type is now updated when calling AR::Base.becomes on subclasses [#5953 ↵ | Franck Verrot | 2010-11-12 | 2 | -0/+10 | |
| | | | | | | | | | | | | state:resolved] | |||||
* | | | Use ! instead of not | Santiago Pastorino | 2010-11-11 | 1 | -1/+1 | |
| | | | ||||||
* | | | 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> |