Displaying 2 results from an estimated 2 matches for "yamp".
Did you mean:
camp
2006 Mar 16
3
ACLSystem and session variables
I am using the ACL System that is described on the Rails wiki and I have
a quick question. I want to set the "role" as a session variable so
that I can display certain navigation schemes and I was doing it like
this:
@session[:user][:role] = @user.roles
When I print out this variable I get:
#<Role:0x3262d80>
How can I turn this into a readable value? I tried .to_i
2007 Jun 28
3
Img relocatable inside plugin
Hi,
i''m searching to insert a relocatable image into a my plugin, but i don''t
want to reimplement what was already done...
i saw that in the gallery plugin there''s something like:
<img src=\"{relocatable: #{imgname}}\"/>
but i wasn''t able to reproduce this behavior....
How can i make this work?
thanks, bye.
--
-gaspa-