search for: agentscontroller

Displaying 1 result from an estimated 1 matches for "agentscontroller".

Did you mean: agentcontroller
2006 Jun 02
1
controller instance methods available in rhtml?
...ge || ''Unknown'' %> I don''t get the values I''m setting. Here''s some of the ways I try: class ApplicationController < ActionController::Base attr_accessor :othermessage def whynot=(msg) @msg = msg end def whynot @msg end class AgentsController < ApplicationController def show othermessage = ''show set'' whynot=''jim'' @agent = Agent.find(params[:id]) end -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachmen...