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
rsim has joined #datamapper
rsim has quit [Quit: Leaving.]
v0n has quit [Quit: WeeChat 1.0.1]
v0n has joined #datamapper
foxxx0 has joined #datamapper
<foxxx0> hey, is there any way to retrieve the class name of a datamapper resource?
<foxxx0> im trying to use the class names when rendering output like this: haml object.class.to_s.to_sym
<foxxx0> however, object.class.to_s returns "DataMapper::Collection" instead of the class name...
<foxxx0> alright, got it: object.model seems to be what i want
postmodern has joined #datamapper