[Rubycocoa-devel 896] some thoughts on the active record support

Back to archive index

jeanp****@gmail***** jeanp****@gmail*****
Fri May 25 09:42:18 JST 2007


i gave the active record'ified maildemo sample and it is really neat. a few
questions i had along the way:

rather than include the migrations in the application, would it be possible
to package only the resulting schema? it seems like migrations are an
affordance to developers and for end users it wouldn't do a whole lot (maybe
even slower?). in a rails app i think the schema is generated from
  % rake db:migrate
maybe rubycocoa needs some default rake tasks too :)

will support for other active record-supported database be added?

i'm a bit confused on EmailProxy#rbValueForKey. could this be addressed at a
different level? if i tweak the pure objc/bindings MailDemo and represent
the body as an NSString ivar rather than the dictionary, i am not required
to convert it to an NSAttributedString. of course not using that bit of code
i see:
  NSInternalInconsistencyException - Cannot create NSAttributedString from
object sample text of class NSCFString (OSX::OCException)

if a String is bridged to NSString shouldn't that be enough?

thanks for the great work in this space, i think we'll see some really
interesting stuff come out of it.

cheers,
jean-pierre
-------------- next part --------------
An HTML attachment was scrubbed...
Download 


More information about the Rubycocoa-devel mailing list
Back to archive index