One other thing to look at is using _url whenever you need to cross
the secure / non-secure bridge (either way). Also, any time you are
inside JavaScript (Ajax) requests, be sure to use _path, otherwise you
may trigger a same origin policy error in browsers that care about
security.
Walter
On Feb 16, 2011, at 8:58 AM, Rodrigo Alves Vieira wrote:
Thank you guys. I checked it out and it makes total sense.
Cheers!
--
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 rubyonrails-
[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
.
--
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.