HI guys where should i have to write the method that it is accessible
from any controller and any views. When i write the method in
application controller then it is accessible in controller only and
when i write it on application helper it is accessible on views only.
I even tried to write it as module in the lib and included in the
application controller, in that case it becomes inaccessible in views.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---