I\'m at Rails 2.3.5 and I have this problem: class BaseController < ApplicationController before_filter :foo, :only => [:index]
Is it possible to configure Rails so caches created with caches_page survive a Capistrano deploy? Ie, can I configure开发者_开发技巧 the cache to be saved into a shared directory rather than in the pu
I want to have some kind of single list that is initialized in a se开发者_高级运维perate module, then can be included in a controller and modified at the controller-class level, and accessed at the co
I tried to write render in an action, but layout behavior is different, why? def show 开发者_运维问答 # assuming we have a partial in app/views/shared/_panel_show.html.erb
I\'ve got a sweeper that\'s supposed to expire a few action caches. Even though the debugger stops immediately before the call to expire_action, it\'s not actually expiring the action. Any idea what c
To the rails experts out there I was wondering where/how you would execute the same code for every action in your web application? If you can point me to an article or provide a short code snippet I w
I\'m trying to use rails nested form_for helper, but I am getting the following error: BlogPage(#49859550) expected, got Array(#31117360)
I have an ActionController derived Test which sends a \'post\' request to the controller under test with incorrect data. The controller tries to create a new object and save it. The model has validati
I am developing an Rails 2.3.1 Web site. Throughout the Web site, I need to have a form for creating Posts on various pages (Home page, Create Posts page, Post listing page, Comment listing page, etc.