Displaying 1 result from an estimated 1 matches for "msg_limit".
Did you mean:
mem_limit
2006 May 09
2
User.new doesn´t capture all of the parameters
...company") %></td
<tr>
The database looks like this:
create table users (
id int not null auto_increment,
name varchar(100) not null,
company varchar(100) not null,
ownnumber int not null,
sendt int not null,
count int not null,
msg_limit int not null,
access_level varchar(50) not null,
hashed_password char(40) not null,
primary key (id)
);
login_controller.rb:
def add_user
if request.get?
@user = User.new
else
@user.company = (params[:user][:company]) # Tried first
without this line...