search for: follower_id

Displaying 2 results from an estimated 2 matches for "follower_id".

Did you mean: followed_id
2012 Feb 18
0
Rails NameError : uninitialized constant RelationshipsController
...----------------- And here''s the code for my relationship model (relationship.rb): class Relationship < ActiveRecord::Base attr_accessible :followed_id belongs_to :follower, :class_name => "User" belongs_to :followed, :class_name => "User" validates :follower_id, :presence => true validates :followed_id, :presence => true end -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To u...
2009 Oct 19
9
Can (should) each :user have his own table?
I was reading this article a while back http://www.sitepoint.com/blogs/2008/06/06/did-rails-sink-twitter/ and it got me thinking. If I wanted to set up my app so that each user has his/her own table, how would I go about doing that? "create_table :users" just creates a table in the database for a list of all the users (which I guess I''d want in addition to their individual