Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Leandro Moreira's Profile

GitHub User: leandromoreira

Site: http://leandromoreira.com.br

Comments by Leandro Moreira

Avatar

I would like to know (links) how to keep user logged in info inside cookies safety.

Avatar

If I would opt by using an external table (properties -> name, value); how it would looks like?

I think the models could be something like this.

class Product
  has_many :proprieties 
#...
end

class Property
  belongs_to :product
end

But, what are the best way to bind this to the view?

Avatar

Perfect, I was using Simple Form then I had to use a different css path for that.