Yeah, the table includes everything needed.

 def self.up
    create_table :users do |t|
      t.string :name
      t.string :email
      t.integer :variable
      t.timestamps
    end
  end

And the variable isn't nil. I default it to 0 when i create the user. 
I'm still confused as to why this isn't working...
Everything goes like it should but the user just will not save itself 
and update the variable. Can I use the update_attributes?

-- 
Posted via http://www.ruby-forum.com/.

-- 
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.

Reply via email to