search for: stuffcontrol

Displaying 1 result from an estimated 1 matches for "stuffcontrol".

2006 Jul 04
1
LoginGenerator Problem
...in1 AUTO_INCREMENT=1 ; CREATE TABLE ''stuff'' ( ''id'' int(6) unsigned NOT NULL auto_increment, ... ''user_id'' int(6) NOT NULL default ''0'', ... ) ENGINE=MyISAM DEFAULT CHARSET=latin1; Stuff-------------------------- class StuffController < ApplicationController scaffold :stuff before_filter :login_required, :only => [:create, :edit, :new] def create @stuff= Stuff.new(params[:todo]) @stuff.user = @session[:user] if @stuff.save flash[:notice] = ''Event was successfully created.'' redirect_to :action...