News for hackers. Stuff that matters.
Re:Never Give Your Information To 10 Minute Old Startups by alinajaf on Saturday October 06, 2012 @07:24AM (#4620275)
Agreed. You don't even need to add any gems or do any rails magic for this to work. In your controller:

    def edit
      @aws_credentials = current_user.aws_credentials
    end

    def update
      current_user.aws_credentials.update_attributes(
        params[:aws_credentials].slice(:a, :b, :c)
      )
    end
Re:Never Give Your Information To 10 Minute Old Startups by bhousel on Saturday October 06, 2012 @07:55AM (#4620308)
Don't forget `destroy`.