Displaying 3 results from an estimated 3 matches for "tobyclemson".
2007 Aug 03
1
Nested Resources vs. Normal Resources
Hi,
I''m a bit unsure as to when one uses a nested resource and when one
uses a normal resource. If you have a belongs_to, has_one/many
relationship between models is that automatically an indication of a
nested resource or can these resources still be represented in the
normal resource way?
I have a resource (talker) that belongs_to a number of other models
(network, data_date,
2007 Aug 22
1
ActiveResource find method and restful controllers.
Hi,
What''s the best way to add support for the activeresource find method
in the controllers in my rails app?
As I understand it when you invoke something like:
Person.find(:all, :params => {:name = ''toby''})
this generates a request of:
GET /people.xml?name=toby
Does this mean that in my index method in PeopleController in my rails
app I have params[name] set to
2007 Aug 04
2
Modifying the restful_authentication plugin / Classes creating instances of themselves.
Hi,
I''m trying to modify the restful_authentication plugin so that it
first authenticates against LDAP (Active Directory), if successful, it
tries to find a matching user with the same username in the database,
through a model ''user''. If it finds a user, it updates a last_login
attribute; if it doesn''t find one, it creates one. The "remember me"