hi, ..i''ve just finished installing the login generator and acl system from http://wiki.rubyonrails.com/rails/pages/LoginGeneratorACLSystem (sql sctructure of a habtam relationship of roles//users, roles//permissions and so, being able to asign roles[with the associated permissions]to the users..) anyway, now i need to implement associating the correct permissions for the correct role in the view, and so after scaffoling, i''ve got: -------- def new @role = Role.new @permissions = Permission.find(:all) end def create @role = Role.new(params[:role]) if params[:permission] params[:permission].split(" ").each do |permission| @permission = Permission.find(permission) @role.permissions.push(@permission) end end if @role.save flash[:notice] = ''Role was successfully created.'' redirect_to :action => ''list'' else render :action => ''new'' end end -------------- via the @permissions in the ''new'' action, i bring to the view a multiple select field( with the name of permission, hence the params[:permission] ) with all of the permissions available, so that the admin can choose what permissions go with the role he has just created...problem is, when choosing mulitple values in the multiple field, it turns out tha the only one that was pushed into @role.permissions was the first one that was selected on the select field(regardless of how many were choosen along with it). is there something wrong with my controller, or is there some kind of bug with the select field? shouldn''t this be working? (monday bloody mondays??) ...thanks ahead of time, chow, s -- Posted via http://www.ruby-forum.com/.