On 24 August 2010 16:37, Zack Nathan <lists@ruby-forum.com> wrote:
> What i want to do is allow only user created records to appear in the
> list and thus make them only able to edit their own. How would I do
> this?
Looking at the docs for ActiveScaffold I think you could use the
conditions_for_collection method. However I would advise against
using ActiveScaffold for the user part of a website. It is good for
easy access to the database for development and admin purposes but for
the 'real' website I would recommend coding up what you really want
rather than trying to push ActiveScaffold to the limit. Others may
disagree with this.
Colin
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment