On Aug 28, 3:11 pm, Saty Nos <[email protected]> wrote:
> <%= title %>
>
> it is showing as '' and after some debugging, looks like @title is not
> being set.
>
> Why are the instance variables added in the helpers not available in the
> views (templates)?
because you didn;t create an instance variable. you just created a
local variable called title (your title= method was never called)
Fred
>
> Thanks in advance.
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---