Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
| * | `render :text => proc { ... }` is no longer supported. | John Firebaugh | 2010-10-04 | 1 | -4/+0 |
| | | |||||
| * | Template::Error is also used if rendering fails. | John Firebaugh | 2010-10-04 | 1 | -2/+3 |
| | | |||||
| * | Merge branch 'master' of github.com:lifo/docrails | Nicholas E. May (on Enterprise) | 2010-10-03 | 1 | -2/+2 |
| |\ | |||||
| | * | Correct documentation that references how *_filter of action_pack are ↵ | Marcelo Giorgi | 2010-10-03 | 1 | -2/+2 |
| | | | | | | | | | | | | translated into set_callback/run_callback's (from active_support) invocations. | ||||
| * | | Section 6, table, typo (extra '.rb') | Nicholas E. May (on Enterprise) | 2010-10-03 | 1 | -1/+1 |
| | | | |||||
| * | | Section 4.3, wrong word used: 'contact' => 'content' | Nicholas E. May (on Enterprise) | 2010-10-02 | 1 | -1/+1 |
| | | | |||||
| * | | Section 3.3: '# bundle install' instead of just 'bundle install' | Nicholas E. May (on Enterprise) | 2010-10-02 | 1 | -1/+1 |
| | | | |||||
| * | | Section 3.2, table: 'README.rdoc' -> 'README' | Nicholas E. May (on Enterprise) | 2010-10-02 | 1 | -1/+1 |
| |/ | |||||
| * | Removed unnecessary 'the' in the '2.2.9 Active Suport' section of Getting ↵ | Nicholas E. May (on Enterprise) | 2010-10-02 | 1 | -1/+1 |
| | | | | | | | | Started. | ||||
| * | Fix syntax error in ActiveModel::Validations .validate example | fastred | 2010-10-01 | 1 | -1/+1 |
| | | |||||
| * | Fix serialization :include option name | Evgeniy Dolzhenko | 2010-10-01 | 1 | -1/+1 |
| | |