Re: problems with console - uninitialized constant

2015-03-09 Thread Sebastjan Hribar
Hi Paul, you're right. I've mixed the two:( It works now. regards Seba Dne 09. 03. 2015 ob 21:29 je Paul van Tilburg zapisal(a): On Mon, Mar 09, 2015 at 07:24:38PM +0100, Sebastjan Hribar wrote: I'm having problems with the console. When I try to create a new user, I get this error: 2.1.5 :0

Re: problems with console - uninitialized constant

2015-03-09 Thread Paul van Tilburg
On Mon, Mar 09, 2015 at 07:24:38PM +0100, Sebastjan Hribar wrote: > I'm having problems with the console. When I try to create a new user, I get > this error: > > 2.1.5 :001 > user = User.new(username: "hribar", email: "s...@test.com", > password: "qwert", password_confirmation: "qwert") > NameEr

problems with console - uninitialized constant

2015-03-09 Thread Sebastjan Hribar
Hi, I'm having problems with the console. When I try to create a new user, I get this error: 2.1.5 :001 > user = User.new(username: "hribar", email: "s...@test.com", password: "qwert", password_confirmation: "qwert") NameError: uninitialized constant User from (irb):1 from /home/seb