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
postmodern has joined #datamapper
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
peneconleche is now known as peneconleche|awa
zombor has quit [Remote host closed the connection]
cschneid has quit [Ping timeout: 240 seconds]
cschneid has joined #datamapper
kalleth has quit [*.net *.split]
DireFog has quit [*.net *.split]
kalleth has joined #datamapper
DireFog has joined #datamapper
postmodern has quit [Quit: Leaving]
peneconleche has joined #datamapper
peneconleche|awa has quit [Ping timeout: 252 seconds]
<Frost> I have a model with a required property that also has a default value (required: true, default: 0). If I try to save an instance of this model that happens to have a nil value for the property, I get a validation error that it must not be blank. Is there any way to make a property use its default value if it is blank and required?
<Frost> I know I can change this by removing "required: true" from the property, but that will cause the database to allow null values, and I don't want that.
<Frost> Ok, for anyone that's interested, the problem seems to have been that I had specified required before default, and if I swapped them around, it works fine.
g0bl1n has joined #datamapper
peneconleche has quit [Ping timeout: 260 seconds]
zombor has joined #datamapper
zombor has quit [Changing host]
zombor has joined #datamapper
peneconleche has joined #datamapper
g0bl1n has quit [Ping timeout: 246 seconds]
peneconleche has quit [Quit: Leaving...]
g0bl1n has joined #datamapper
peneconleche has joined #datamapper
peneconleche is now known as peneconleche|awa
mbj has joined #datamapper
mbj has quit [Read error: Connection reset by peer]
mbj has joined #datamapper
mbj has quit [Read error: Connection reset by peer]
mbj has joined #datamapper
mbj has quit [Read error: Connection reset by peer]
mbj has joined #datamapper
mbj has quit [Ping timeout: 252 seconds]
mbj has joined #datamapper
<namelessjon> ... That sounds very odd, Frost
zombor has quit [Remote host closed the connection]
mbj has quit [Read error: Connection reset by peer]
mbj has joined #datamapper
peneconleche|awa has quit [Read error: Connection reset by peer]
peneconleche has joined #datamapper
zombor has joined #datamapper
peneconleche has quit [Quit: Leaving...]
zombor has quit [Remote host closed the connection]
mbj has quit [Ping timeout: 252 seconds]
zombor has joined #datamapper
g0bl1n has quit [Ping timeout: 252 seconds]
zombor has quit [Remote host closed the connection]
zombor has joined #datamapper
zombor has quit [Remote host closed the connection]
postmodern has joined #datamapper
dkubb has joined #datamapper
dkubb has quit [Quit: Linkinus - http://linkinus.com]