Yes, I have checked the log, and all parameters I sent. It does some sql selects, but it never updates my record. Any other ideas?
On 9月21日, 上午1時57分, "Sergio Cambra .:: entreCables S.L. ::." <[email protected]> wrote: > On Domingo, 20 de Septiembre de 2009 17:36:14 [email protected] escribió: > > > > > > > I added active scaffold for my users table with this configuration: > > > active_scaffold :users do |config| > > config.columns.exclude :cached_fb_object, :shortlisted_users > > config.action_links.add "message", :label => "message", :type > > => :record, :page => true > > config.action_links.add "profile", :label => " facebook", :type > > => :record, :page => true > > > end > > def message > > redirect_to "/notifications/admin?to_id=#{params[:id]}" > > end > > > def profile > > user = User.find(params[:id]) > > redirect_to "http://www.facebook.com/profile.php?id=#{user.fb_id}" > > end > > > I have a status column of type boolean for user. When I try to change > > some of the users from false to true, I does not update, but I also > > dont get any error or clue as to what is going on . > > Have you checked the log? What parameters are sent? > > -- > 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 -~----------~----~----~----~------~----~------~--~---
