views:

222

answers:

1

How can I remove the div from authenticity_token in Ruby on Rails?

Thanks.

A: 

You might be able to work around it by using form_authenticity_token as I believe this only returns the value that should be stored.

Take a look at the documentation for more information.

Topher Fangio