Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge remote branch 'drogus/engines' | José Valim | 2010-10-10 | 14 | -90/+205 |
|\ | |||||
| * | Add 'foo:install:migrations' task to copy migrations from foo engine | Piotr Sarnacki | 2010-10-09 | 2 | -1/+15 |
| | | |||||
| * | Load rake tasks defined in superclasses in context of railties | Piotr Sarnacki | 2010-10-09 | 2 | -0/+31 |
| | | |||||
| * | Rename rake railties:copy_migrations to rake railties:install:migrations and ↵ | Piotr Sarnacki | 2010-10-09 | 2 | -33/+42 |
| | | | | | | | | fix it to work with new copying strategy | ||||
| * | Add callback on skipped migration while copying migrations | Piotr Sarnacki | 2010-10-09 | 2 | -9/+40 |
| | | |||||
| * | Change the method for copying migrations, do not add scope. | Piotr Sarnacki | 2010-10-09 | 6 | -30/+60 |
| | | | | | | | | | | | | | | The purpose of this change is to allow copying fail on the same names. Migrations change database and they should be treated with caution, if 2 migrations are named the same it's much better to skip migration and allow user decide if it should be copied or not. | ||||
| * | Rename namespace method to isolate_namespace. | Piotr Sarnacki | 2010-10-09 | 4 | -21/+21 |
| | | | | | | | | | | | | | | This change caused by confusion caused by calling engine "namespaced". Stuff inside engine can be namespaced for every engine. This method is not actually namespacing anything, it's isolating engine within the given namespace. | ||||
* | | Clean up unused methods from AV::Base and pass in the template object on ↵ | José Valim | 2010-10-10 | 6 | -31/+33 |
| | | | | | | | | rendering. | ||||
* | | Add expire! and rerender to the template API. This will be used by SASS ↵ | José Valim | 2010-10-10 | 2 | -5/+67 |
| | | | | | | | | template handler. | ||||
* | | Add some unit tests to Template#refresh. | José Valim | 2010-10-10 | 1 | -4/+28 |
| | | |||||
* | | Update CHANGELOG. | José Valim | 2010-10-10 | 3 | -2/+12 |
| | | |||||
* | | Add support to render :once. | José Valim | 2010-10-10 | 6 | -29/+139 |
| | | | | | | | | This will be used internally by sprockets to ensure requires are executed just once. | ||||
* | | Clean up the house before moving in the new furniture. | José Valim | 2010-10-10 | 10 | -306/+348 |
| | | | | | | | | This commit moves all the template rendering logic that was hanging around AV::Base to renderer objects. | ||||
* | | prevent rake test to run the test suite three times when ENV['TEST'] is set ↵ | David Calavera | 2010-10-10 | 2 | -6/+14 |
| | | | | | | | | | | | | [#3572 state:resolved] Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | | Rendering doesn't need RackDelegation | wycats | 2010-10-10 | 1 | -1/+0 |
| | | |||||
* | | Fix a few bugs when trying to use Head standalone | wycats | 2010-10-10 | 4 | -4/+23 |
| | | |||||
* | | Resolvers now consider timestamps. | José Valim | 2010-10-10 | 4 | -35/+107 |
| | | | | | | | | | | | | | | | | | | | | | | Before this patch, every request in development caused the template to be compiled, regardless if it was updated in the filesystem or not. This patch now checks the timestamp and only compiles it again if any change was done. While this probably won't show any difference for current setups, but it will be useful for asset template handlers (like SASS), as compiling their templates is slower than ERb, Haml, etc. | ||||
* | | Deprecate old template handler API. Remove old handlers. | José Valim | 2010-10-10 | 23 | -59/+64 |
| | | |||||
* | | Add more docs and tests to templates. | José Valim | 2010-10-09 | 2 | -41/+66 |
|/ | |||||
* | Fix error in routing guide edit_photo_path needs the id as param | Santiago Pastorino | 2010-10-09 | 1 | -1/+1 |
| | |||||
* | This test is not only testing config/database stuff anymore | Santiago Pastorino | 2010-10-09 | 1 | -1/+1 |
| | |||||
* | test that skip active records does not load fixtures | Aditya Sanghi | 2010-10-09 | 1 | -0/+3 |
| | | | | | | [#4104 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Test if test/performance/browsing_test.rb exists when --skip-activerecord is ↵ | Santiago Pastorino | 2010-10-09 | 1 | -0/+1 |
| | | | | | | used [#4104] | ||||
* | Fix example that became outdated after a code change. | Andrea Campi | 2010-10-09 | 1 | -1/+1 |
| | | | | | | [#5770 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Fixing two minor errors in Rails::Generators::Actions initializer method ↵ | Juan Maiz | 2010-10-08 | 1 | -2/+2 |
| | | | | | | | | comments [#5771 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Refactor resource action scope methods | Andrew White | 2010-10-08 | 1 | -38/+20 |
| | |||||
* | Remove old workaround for mocha bug. [#3886 state:committed] | James Mead | 2010-10-08 | 1 | -4/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Makes this code a bit more clear | Santiago Pastorino | 2010-10-08 | 1 | -3/+3 |
| | |||||
* | Remove the final initializers since initializers += will return it anyway. ↵ | Ryan Bigg | 2010-10-08 | 1 | -1/+0 |
| | | | | | | [#3892 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Fix engines test | Piotr Sarnacki | 2010-10-08 | 1 | -1/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Refactored routes reloading to use RouteSet#append instead keeping block in ↵ | Piotr Sarnacki | 2010-10-08 | 2 | -23/+9 |
| | | | | | | Engine Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Cleanup logger a bit. | José Valim | 2010-10-08 | 1 | -38/+11 |
| | |||||
* | Ensure rack body responds to each. | José Valim | 2010-10-08 | 1 | -3/+2 |
| | |||||
* | Fix 1.9.2 failures. | José Valim | 2010-10-08 | 1 | -4/+4 |
| | |||||
* | Fixed rake task description typo | Vesa Vänskä | 2010-10-08 | 1 | -1/+1 |
| | |||||
* | removing false comment | Aaron Patterson | 2010-10-07 | 1 | -2/+0 |
| | |||||
* | fix rendering a partial with an array as its :object [#5746 state:resolved] | Michael Koziarski | 2010-10-08 | 3 | -3/+12 |
| | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> Conflicts: actionpack/lib/action_view/render/partials.rb | ||||
* | Allow cache to be temporarily disabled through lookup_context. | José Valim | 2010-10-07 | 5 | -6/+53 |
| | |||||
* | render :template => 'foo/bar.json' now works as it should. | José Valim | 2010-10-07 | 6 | -15/+57 |
| | |||||
* | Make collection rendering faster. | José Valim | 2010-10-07 | 2 | -3/+3 |
| | |||||
* | Remove locals dependency from template. | José Valim | 2010-10-07 | 9 | -85/+130 |
| | | | | | | This means that templates does not need to store its source anymore, allowing us to reduce the ammount of memory taken by our Rails processes. Naively speaking, if your app/views contains 2MB of files, each of your processes (after being hit by a bunch of requests) will take 2MB less of memory after this commit. This is extremely important for the upcoming features. Since Rails will also render CSS and JS files, their source won't be stored as well allowing us to decrease the ammount of memory taken. | ||||
* | Add a TODO to remove gem "jruby-openssl" when jruby-openssl is merge in jruby | Santiago Pastorino | 2010-10-07 | 1 | -0/+3 |
| | | | | [#5762] | ||||
* | - update documentation | Gaston Ramos | 2010-10-07 | 1 | -0/+9 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | - ActiveResource::HttpMock.respond_to | Gaston Ramos | 2010-10-07 | 1 | -1/+14 |
| | | | | | | | do not replace the response with the same path but different method - Fix typo Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | - Fix ActiveResource::HttpMock.respond_to replace the response | Gaston Ramos | 2010-10-07 | 2 | -23/+47 |
| | | | | | | if it has the same request Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Get rid of ruby warnings in Resolvers. Move a few methods up to the abstract ↵ | José Valim | 2010-10-07 | 2 | -23/+26 |
| | | | | class. | ||||
* | Add jruby-openssl gem in Gemfile necessary for JRuby | Anil Wadghule | 2010-10-07 | 1 | -0/+2 |
| | | | | | | [#5762 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Add "a" to make it better English | Ryan Bigg | 2010-10-07 | 2 | -2/+2 |
| | | | | | | [#3796 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-10-06 | 8 | -23/+22 |
|\ | |||||
| * | Fixed typo in engine documentation | Thomas McDonald | 2010-10-06 | 1 | -1/+1 |
| | |