> I am having difficulty imagining why you would want an instance variable of > a controller that is not associated with an action, what else do controllers > do?
The thing is that this particular instance variable is associated with *ALL* of the actions of the controller. I want to be DRY and only specify the value of the instance variable once and have that value available in all of the views associated with each of the actions of that controller. > Are you sure it is not an instance variable of a model that you should > be using? I don't think so. Models extend from ActiveRecord::Base. Therefore in my nieve view of the Rails world, models are only used with databases. I don't have a database involved. I just want to pass a common value from the controller to the views and I don't want to have to redundantly specify that value in each of the actions. Thanks for the input. ... doug --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---