Displaying 2 results from an estimated 2 matches for "_doesn".
Did you mean:
doesn
2006 Mar 08
2
RJS - page object in helpers?
...unction
def update_flash_messages
page.replace_html ''flash_messages'', (show_flash_messages :textilize => true)
page.visual_effect ''flash_messages'', :appear
end
and then in my RJS files I call
update_flash_messages
But right now the above code _doesn''t work_, rather I have to pass the page
object as shown below:
def update_flash_messages(page)
page.replace_html ''flash_messages'', (show_flash_messages :textilize => true)
page.visual_effect ''flash_messages'', :appear
end
and RJS file...
2006 May 11
18
Object constructors - Noob Question
Hi: Sorry if this is a painfully stupid question...
I have some data I need through the life of someone''s session. In the
application controller, I grab the data and store it like so:
session[:foo] = @foo
Now, whenever I need to access data about foo I don''t need to cause any
DB io, I can just grab foo from the session (it''s very small fyi).
Here''s what I