How do we write a simple ruby code that should run on index page despite of its scopes, it should just run,i know its too lame to ask, but dint find anywhere :( do help ..actually i wnat to save a value in session variable , but the session value is set when scope returns some records else it doesnt
How do we write a simple ruby code that should run on index page despite of its scopes, it should just run,i know its too lame to ask, but dint find anywhere :( do help ..actually i wnat to save a value in session variable , but the session value is set when scope returns some records else it doesnt