Which ActiveScaffold version are you using?

On Martes, 21 de Junio de 2011 18:26:39 patrick99e99 escribió:
> Hi,
> 
> I just found a very strange thing...  I have two models, User and
> Post..  User has_many :posts, Post belongs_to :user.
> 
> Everything was working fine in ActiveScaffold when I'd view the user
> list--  I could click on a post url and it would reveal only the posts
> for that user.
> 
> However, once I introduced into my post controller:
> 
> config.actions = [:list]
> 
> To limit the actions, and not have edit/create/delete links, then
> suddenly when clicking on a user's posts, ActiveScaffold shows me
> Post.all instead of user.posts
> 
> ...  Is this a known issue?
> 
> Thanks.
> -Patrick

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to