Uploaded with ImageShack.us
[code]class User < ActiveRecord::Base
has_and_belongs_to_many :roles
attr_accessible :login, :email, :password
def validate
…
end
end
[/code]
[b]Queria saber se na hora de criar o método "validate", tenho que dar accessible a quais ":atributos "
?[/b]