lenart edited this page Sep 12, 2010 · 2 revisions
Clone this wiki locally

Hey fnando! Nice work on the plugin. I had some problems because you depend on .name column in users table (lib\has_friends.rb line #15). I suggest you remove or change (?) the order clause.

Also, you should include in your installation instructions, that the migration should create friends_count column for counter cache.

add_column :users, :friends_count, :integer