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
NemesisD has quit [Quit: WeeChat 0.4.2]
snusnu has quit [Quit: Leaving.]
snusnu has joined #rom-rb
zekefast has quit [Ping timeout: 272 seconds]
snusnu has quit [Quit: Leaving.]
CraigBuchek has joined #rom-rb
zekefast has joined #rom-rb
cored has quit [Ping timeout: 245 seconds]
postmodern has quit [Quit: Leaving]
zekefast has quit [Quit: Leaving.]
mbj has joined #rom-rb
mbj has quit [Read error: Connection reset by peer]
zekefast has joined #rom-rb
skade has joined #rom-rb
cored has joined #rom-rb
zekefast has quit [Quit: Leaving.]
mbj has joined #rom-rb
cored has quit [Quit: leaving]
zekefast has joined #rom-rb
dkubb has quit [Read error: Connection reset by peer]
dkubb has joined #rom-rb
postmodern has joined #rom-rb
snusnu has joined #rom-rb
snusnu has quit [Quit: Leaving.]
CraigBuchek has quit [Quit: CraigBuchek]
breakingthings has joined #rom-rb
mbj has quit [Ping timeout: 246 seconds]
snusnu has joined #rom-rb
postmodern has quit [Quit: Leaving]
cored has joined #rom-rb
CraigBuchek has joined #rom-rb
mbj has joined #rom-rb
<snusnu> yo mbj
<snusnu> i was wondering, do you actually use a #to_hash helper for anima in your apps? i found myself thinking about sticking something like this in Utils::Anima .. def to_hash; self.class.attributes_hash(self); end
<mbj> snusnu: I tried to avoid "instance level method pollition", but as a helper +1
<mbj> snusnu: There is also Anima::Update for #update, some_instance.update(:some => :attribute) # => new_instance_with_updated_attribute
<snusnu> mbj: yeah, i'd mostly include it into objects that need their hash accessible, like for serialization
<snusnu> mbj: yeah i know that
<mbj> snusnu: Via ducktrap its AFAIK okay to go the singleton.attributes_hash(instance) thing!
<mbj> snusnu: Because you can "serialize" anything that has the correct public interface.
<snusnu> mbj: yeah that's fine
<snusnu> mbj: in my case, i send back instances of arbitrary anima objects tho, as json (for angular to feed on)
<snusnu> mbj: and it seems fair enough to expose their serializable state via something like #to_hash
<snusnu> mbj: maybe some of them will use inverse ducktraps eventually, but for now, i'm fine without (that will probably change soon tho)
<mbj> snusnu: Feel free to push that Anima::Serializable? into repo
<snusnu> mbj: i might do that at some point yeah, i wanna use it for a bit longer tho
mbj has quit [Read error: Connection reset by peer]
mbj has joined #rom-rb
bf4 has quit [Ping timeout: 240 seconds]
mbj has quit [Ping timeout: 246 seconds]
bf4 has joined #rom-rb
<dkubb> good morning
CraigBuchek has quit [Quit: CraigBuchek]
cored has quit [Ping timeout: 240 seconds]
cinch_ has joined #rom-rb
cinch_ has quit [Remote host closed the connection]
cinch_ has joined #rom-rb
cinch_ has quit [Remote host closed the connection]
snusnu has quit [Quit: Leaving.]
mbj has joined #rom-rb
mbj has quit [Read error: Connection reset by peer]
snusnu has joined #rom-rb
cinch_ has joined #rom-rb
cinch_ has quit [Remote host closed the connection]
cinch_ has joined #rom-rb
cinch_ has quit [Remote host closed the connection]
CraigBuchek has joined #rom-rb
mbj has joined #rom-rb
mbj has quit [Read error: Connection reset by peer]
irclogger__ has joined #rom-rb
irclogger__ has quit [Remote host closed the connection]
zekefast has quit [Quit: Leaving.]
irclogger__ has joined #rom-rb
irclogger__ has quit [Remote host closed the connection]
irclogger__ has joined #rom-rb
irclogger__ has quit [Remote host closed the connection]
irclogger__ has joined #rom-rb
irclogger__ has quit [Remote host closed the connection]
irclogger__ has joined #rom-rb
irclogger____ has joined #rom-rb
irclogger____ has quit [Remote host closed the connection]
irclogger____ has joined #rom-rb
irclogger____ has quit [Remote host closed the connection]
irclogger____ has joined #rom-rb
irclogger____ has quit [Remote host closed the connection]
irclogger____ has joined #rom-rb
knowtheory has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/]
irclogger____ has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
irclogger__ has quit [Remote host closed the connection]
irclogger__ has joined #rom-rb
irclogger__ has quit [Remote host closed the connection]
irclogger__ has joined #rom-rb
irclogger__ has quit [Remote host closed the connection]
irclogger__ has joined #rom-rb
irclogger__ has quit [Remote host closed the connection]
irclogger__ has joined #rom-rb
irclogger__ has quit [Remote host closed the connection]
irclogger__ has joined #rom-rb
irclogger__ has quit [Remote host closed the connection]
irclogger__ has joined #rom-rb
irclogger__ has quit [Remote host closed the connection]
irclogger__ has joined #rom-rb
skade has joined #rom-rb
dkubb has quit [Quit: Linkinus - http://linkinus.com]
CraigBuchek has quit [Quit: CraigBuchek]
irclogger__ has quit [Remote host closed the connection]
irclogger__ has joined #rom-rb
irclogger__ has quit [Remote host closed the connection]
irclogger__ has joined #rom-rb
mbj has joined #rom-rb
mbj has quit [Read error: Connection reset by peer]
mbj has joined #rom-rb
mbj has quit [Quit: leaving]
breakingthings has quit []
skade has quit [Quit: Textual IRC Client: www.textualapp.com]