Displaying 4 results from an estimated 4 matches for "user_friend".
Did you mean:
user_friends
2006 Apr 03
1
has_many :trough with 2x the same table
...o this with a habtm, but of course I want to stay up-to-date and convert this to a has_many :trough. Unfortunately I can''t get it to work.. the documentation on this feature is a bit sparse at the moment.
This is my old habtm:
has_and_belongs_to_many :friends, :join_table => ''user_friends'', :foreign_key => ''user_id'', :association_foreign_key => ''friend_id'', :class_name => ''Person''
I''ve tried various things, but I''m completely lost now. I looked at the :source option, but that doesn''t...
2010 Jan 20
0
Will_paginate not working with the ajax
Hi,
I am using "will_paginate" for pagination purpose.
I have a partial with name "my_friends", I have a pagination of 25 per
page.
I have added "<%= will_paginate @user_friend} %>" in my partial.
It is working fine. I have a functionality to delete the friend.
So I have usd "link_to_remote" call to delete the friend and I am
updating that partial with all required parameters. It is also working
fine.
But whenever after deleting any friend I am going to...
2010 Feb 16
0
Strange routing(?) Issue
...PUT /users/:user_id/
roles/:id(.:format)
{:action=>"update", :controller=>"roles"}
DELETE /users/:user_id/
roles/:id(.:format)
{:action=>"destroy", :controller=>"roles"}
user_friendships GET /users/:user_id/
friendships(.:format)
{:action=>"index", :controller=>"friendships"}
POST /users/:user_id/
friendships(.:format)
{:action=>"create", :controller=>"friendships"}
new_u...
2009 Sep 26
10
Adding handling for Multipath storage devices
The following patches introduce support for multipath and cciss devices to the ovirt-node and node-image. Comments are appreciated.
These patches assume that the 3 patches (2 node, 1 node-image) from Joey are all incorporated.
Mike