will the controller compiles the rjs only on ajax request ?
class xyzController < .....
def ajax_req
""This works fine ""
"""ajax_req.rjs is not compiled"""
end
def non_ajax_req
""" non_ajax_req.rjs is not compiled"""
end
end
Am i right or my code lacks something ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---