Displaying 2 results from an estimated 2 matches for "cazador".
Did you mean:
cazzador
2008 Jan 30
2
Invalid authenticity tokens when using subdomains
Does anyone have experience with using subdomains and rails? The
example that I used to help me out was from the Advanced Rails Recipes
book, but I can''t get it working as it should.
I continually get authenticity token errors after logging in. I have
had this error before, and for whatever reason after I added a<%=
token_tag %> to the form it worked, but it doesn''t work
2008 Jan 30
0
Help with JSONified objects from ActiveRecord
Hello guys,
I''m trying to return a custom JSON response to a client frontend.
The object I''m trying to return is a User, with some associated Locale
data.
So basically I need to put the User data and his Locale in a "data"
property in the JSON response.
If this worked, it would be perfect:
json = Hash.new
json[:success] = false
json[:data] = User.find(params[:id],