Skip to content

Instantly share code, notes, and snippets.

@caike
Created January 22, 2011 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caike/790724 to your computer and use it in GitHub Desktop.
Save caike/790724 to your computer and use it in GitHub Desktop.
class AccountSetting < ActiveRecord::Base
belongs_to :user
# attr_protected :user_id
# or you can also do
attr_accessible :public_email, :language, :time_zone,
:location_on_tweets, :show_media, :protect_tweets
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment