dkubb changed the topic of #datamapper to: Datamapper v1.2.0 | Mailing List: http://is.gd/aa9D | Logs: http://is.gd/qWAL7V | DataMapper 2 Renamed to ROM, see #rom-rb for development
zombor has quit [Remote host closed the connection]
akasper has quit [Quit: Leaving.]
lgierth has quit [Quit: Ex-Chat]
zombor has joined #datamapper
zombor has quit [Read error: Connection reset by peer]
zombor has joined #datamapper
zombor has quit [Remote host closed the connection]
zombor has joined #datamapper
zombor has quit [Remote host closed the connection]
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
rsim has joined #datamapper
rsim has quit [Ping timeout: 241 seconds]
skade has joined #datamapper
postmodern has quit [Ping timeout: 256 seconds]
postmodern has joined #datamapper
skade has quit [Quit: Computer has gone to sleep.]
zombor has quit [Remote host closed the connection]
rsim has quit [Quit: Leaving.]
rsim has joined #datamapper
rsim has quit [Read error: Connection reset by peer]
rsim has joined #datamapper
postmodern has quit [Quit: Leaving]
mbj has joined #datamapper
knowtheo1y has joined #datamapper
mbj has quit [Client Quit]
mbj has joined #datamapper
knowtheory has quit [Ping timeout: 272 seconds]
mbj has quit [Ping timeout: 252 seconds]
mbj has joined #datamapper
knowtheo1y has quit [Quit: Computer has gone to sleep]
knowtheory has joined #datamapper
knowtheory has quit [Ping timeout: 272 seconds]
micho has joined #datamapper
<micho>
oh, here are some people, fantastic! I am fighting with that: http://pastebin.com/WfB8eucs . Is there any reason why let's call it 'database-object' passed as return value of function can't be effectivly saved?
knowtheory has joined #datamapper
micho has quit [Quit: Leaving]
knowtheo1y has joined #datamapper
knowtheory has quit [Ping timeout: 272 seconds]
rsim has quit [Quit: Leaving.]
Cinchy__ is now known as Cinchy
lnormous has joined #datamapper
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
rsim has joined #datamapper
rsim has quit [Ping timeout: 240 seconds]
<dkubb>
!memo micho it's because of how sinatra works. each time you call the #user method you get a new instance back, so the first time it sets the age to 25, then the next time you get a new instance and call #save! on it
<Cinchy>
dkubb: Memo recorded for micho.
<dkubb>
!memo micho you can probably use @user ||= User.first(name: params[:name]) within the user method to make sure you use the same instance
<Cinchy>
dkubb: Memo recorded for micho.
zombor has joined #datamapper
zombor has quit [Read error: Connection reset by peer]
zombor has joined #datamapper
skade has quit [Quit: Computer has gone to sleep.]
Fernando has joined #datamapper
<Fernando>
hello
<Fernando>
somebody can help me installing datamapper on windows?
<mbj>
Fernando: Cant help, but should be as easy as installing gems. Avoid gems with C extensions to be save.
<mbj>
Fernando: If you need C extensions, its more troublesome. Never done this under windows. (And probably will not).
g0bl1n has quit [Ping timeout: 272 seconds]
<Fernando>
thanks mbj
Fernando has quit [Quit: Page closed]
<dkubb>
jruby is probably a better option for windows people
<dkubb>
dm works just fine under jruby
rsim has joined #datamapper
<mbj>
dkubb: Good point. Forgot, but sadly he left.
flori_ has quit [Ping timeout: 272 seconds]
flori has joined #datamapper
<namelessjon>
There should be cross-compiled versions of the drivers, but maybe that dropped off?
knowtheo1y is now known as knowtheory
mbj has quit [Quit: leaving]
<dkubb>
no, that still happens
<dkubb>
but there's all the other pain that comes with running on windows that I wanted to save him from ;)
rsim has quit [Quit: Leaving.]
rsim has joined #datamapper
knowtheory has quit [Quit: Computer has gone to sleep]
knowtheory has joined #datamapper
zombor has quit [Remote host closed the connection]