aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do not allow templates coming from Fallback resolvers to store a virtual path.José Valim2010-10-105-4/+29
|
* Use identifiers for template equality.José Valim2010-10-105-10/+46
|
* Fix misleading advice to add 'memcache' to GemfileWincent Colaiuta2010-10-101-1/+1
| | | | | | | | | | | | | | | [#5539 state:committed] Commit 57144388f removed the hard-coded dependency on the memcache-client gem, and added this warning advising people to install it if needed. The problem is, however, that if people follow the advice literally and install the 'memcache' gem, they will wind up with a completely different thing, which is not API compatible with the memcache-client gem and which Rails can't work with. So, be explicit and tell users to install the 'memcache-client' gem. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Override #store to be consistent with #[].Andrea Campi2010-10-102-0/+12
| | | | | | [#5775 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Merge remote branch 'drogus/engines'José Valim2010-10-1014-90/+205
|\
| * Add 'foo:install:migrations' task to copy migrations from foo enginePiotr Sarnacki2010-10-092-1/+15
| |
| * Load rake tasks defined in superclasses in context of railtiesPiotr Sarnacki2010-10-092-0/+31
| |
| * Rename rake railties:copy_migrations to rake railties:install:migrations and ↵Piotr Sarnacki2010-10-092-33/+42
| | | | | | | | fix it to work with new copying strategy
| * Add callback on skipped migration while copying migrationsPiotr Sarnacki2010-10-092-9/+40
| |
| * Change the method for copying migrations, do not add scope.Piotr Sarnacki2010-10-096-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 Sarnacki2010-10-094-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é Valim2010-10-106-31/+33
| | | | | | | | rendering.
* | Add expire! and rerender to the template API. This will be used by SASS ↵José Valim2010-10-102-5/+67
| | | | | | | | template handler.
* | Add some unit tests to Template#refresh.José Valim2010-10-101-4/+28
| |
* | Update CHANGELOG.José Valim2010-10-103-2/+12
| |
* | Add support to render :once.José Valim2010-10-106-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é Valim2010-10-1010-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 Calavera2010-10-102-6/+14
| | | | | | | | | | | | [#3572 state:resolved] Signed-off-by: Xavier Noria <fxn@hashref.com>
* | Rendering doesn't need RackDelegationwycats2010-10-101-1/+0
| |
* | Fix a few bugs when trying to use Head standalonewycats2010-10-104-4/+23
| |
* | Resolvers now consider timestamps.José Valim2010-10-104-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é Valim2010-10-1023-59/+64
| |
* | Add more docs and tests to templates.José Valim2010-10-092-41/+66
|/
* Fix error in routing guide edit_photo_path needs the id as paramSantiago Pastorino2010-10-091-1/+1
|
* This test is not only testing config/database stuff anymoreSantiago Pastorino2010-10-091-1/+1
|
* test that skip active records does not load fixturesAditya Sanghi2010-10-091-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 Pastorino2010-10-091-0/+1
| | | | | | used [#4104]
* Fix example that became outdated after a code change.Andrea Campi2010-10-091-1/+1
| | | | | | [#5770 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fixing two minor errors in Rails::Generators::Actions initializer method ↵Juan Maiz2010-10-081-2/+2
| | | | | | | | comments [#5771 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Refactor resource action scope methodsAndrew White2010-10-081-38/+20
|
* Remove old workaround for mocha bug. [#3886 state:committed]James Mead2010-10-081-4/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Makes this code a bit more clearSantiago Pastorino2010-10-081-3/+3
|
* Remove the final initializers since initializers += will return it anyway. ↵Ryan Bigg2010-10-081-1/+0
| | | | | | [#3892 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fix engines testPiotr Sarnacki2010-10-081-1/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Refactored routes reloading to use RouteSet#append instead keeping block in ↵Piotr Sarnacki2010-10-082-23/+9
| | | | | | Engine Signed-off-by: José Valim <jose.valim@gmail.com>
* Cleanup logger a bit.José Valim2010-10-081-38/+11
|
* Ensure rack body responds to each.José Valim2010-10-081-3/+2
|
* Fix 1.9.2 failures.José Valim2010-10-081-4/+4
|
* Fixed rake task description typoVesa Vänskä2010-10-081-1/+1
|
* removing false commentAaron Patterson2010-10-071-2/+0
|
* fix rendering a partial with an array as its :object [#5746 state:resolved]Michael Koziarski2010-10-083-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é Valim2010-10-075-6/+53
|
* render :template => 'foo/bar.json' now works as it should.José Valim2010-10-076-15/+57
|
* Make collection rendering faster.José Valim2010-10-072-3/+3
|
* Remove locals dependency from template.José Valim2010-10-079-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 jrubySantiago Pastorino2010-10-071-0/+3
| | | | [#5762]
* - update documentationGaston Ramos2010-10-071-0/+9
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* - ActiveResource::HttpMock.respond_toGaston Ramos2010-10-071-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 responseGaston Ramos2010-10-072-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é Valim2010-10-072-23/+26
| | | | class.