solnic changed the topic of #rom-rb to: Ruby Object Mapper | Mailing List: https://groups.google.com/forum/?fromgroups#!forum/rom-rb | Logs: http://irclog.whitequark.org/rom-rb
jfredett has joined #rom-rb
snusnu has quit [Quit: Leaving.]
postmodern has quit [Quit: Leaving]
postmodern has joined #rom-rb
cored has joined #rom-rb
namelessjon has quit [Ping timeout: 240 seconds]
namelessjon has joined #rom-rb
cored has quit [Ping timeout: 260 seconds]
jfredett has quit [Quit: Leaving.]
skade has joined #rom-rb
skade has quit [Quit: Computer has gone to sleep.]
lorenzo_ is now known as lorenzo_off
mbj has joined #rom-rb
mbj has quit [Ping timeout: 264 seconds]
<solnic> postmodern: yes it’s already been decided to change it
<solnic> its interface is based on something we had back in dm1
<postmodern> solnic, _awesome_, the asymmetricalness always weirded me out
<solnic> postmodern: there are some caveats though
<solnic> like, true/false handling :P
<postmodern> how so?
skade has joined #rom-rb
<postmodern> seems like the configuration options already handle that nicely
<solnic> if I’m going to remove coercion_method setting
<solnic> then I won’t have :to_boolean
<solnic> and now I’m supposed to use class for
<solnic> that
<solnic> so, there’s TrueClass and FalseClass
<solnic> there’s no Boolean class
<solnic> can’t do coercer.from(String).to(Boolean) because there’s no Boolean
<solnic> so what do I do? from(String).to(TrueClass)?
<solnic> gtg, cya
mbj has joined #rom-rb
<postmodern> ugh right, i'm so annoyed there's no Boolean meta-class in Ruby
<postmodern> in my old parameters library, I mapped TrueClass/FalseClass to a Boolean type, which had the coercion logic
<postmodern> so I rolled my own type classes and mapped native classes to them
<solnic> yes we have Boolean in coercible too
<solnic> and virtus
<solnic> btw this refactoring won’t be trivial, coercible have a hierarchy of classes with to_* methods, so we will have to introduce something new that will translate from(Foo).to(Bar) into a Coercer::Foo#to_bar call
<solnic> alternatively we can completely change how it works
<postmodern> hmm right
<solnic> I still need to think about this
<solnic> really gtg though :) ttyl
<postmodern> ok night!
<postmodern> or day!
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #rom-rb
robertjpayne has joined #rom-rb
snusnu has joined #rom-rb
mbj has quit [Ping timeout: 268 seconds]
robertjpayne has quit [Remote host closed the connection]
gildo has joined #rom-rb
<gildo> ohai
jfredett has joined #rom-rb
jfredett has quit [Client Quit]
robertjpayne has joined #rom-rb
robertjpayne has quit [Remote host closed the connection]
jfredett has joined #rom-rb
snusnu has quit [Quit: Leaving.]
franckverrot has quit [Ping timeout: 245 seconds]
kapowaz has quit [Ping timeout: 252 seconds]
martxel has quit [Quit: WeeChat 0.4.1]
martxel has joined #rom-rb
martxel is now known as Guest48577
kapowaz has joined #rom-rb
skade has quit [Quit: Computer has gone to sleep.]
postmodern has quit [Quit: Leaving]
mbj has joined #rom-rb
franckverrot has joined #rom-rb
snusnu has joined #rom-rb
Guest48577 is now known as martxel
martxel has joined #rom-rb
martxel has quit [Changing host]
lgierth has joined #rom-rb
mbj has quit [Quit: leaving]
skade has joined #rom-rb
skade has quit [Quit: Computer has gone to sleep.]
<lgierth> _whitelogger help
<lgierth> _whitelogger: help
<lgierth> !help