> Hmm. yes and no. DM is quite different to A/R. I'm not opposed to > allowing it to behave similarly by some mechanism but I think > idiomatic DM shouldn't carry the baggage of A/R for the sake of > converting users. > > Personally, I want a tool that is internally consistent, with a > considered API supported by a small, active, thoughtful and engaging > community. I'm over catering to the lowest common denominator just to > increase numbers.
Agreed, just that in this case I think it does make sense for it to work similarly. Doesn't seem like its catering to lowest common denominator as this is how DM was working up until fairly recently. At the end of the day, I think having niche use methods (save! and create! that don't do callbacks) in such a prominent location would cause problems for everyone. Tons of people use dm-timestamps, so this'll just blow up every time for them until they learn not to use it. By the way, that snippet (http://gist.github.com/170779) Dan provided is a friggin awesome technique. The syntax looks atrocious (ruby really needs a cleaner way to have models define class behavior), but that'll be incredibly useful now that I have it on my snippet library. On Sep 27, 2:53 am, Simon Harris <[email protected]> wrote: > > Dan, I agree with your logic on using ! as an unsafe indicator, > > however I think its worth considering future ActiveRecord switchers > > (many who will try Datamapper when Rails3 is out). > > Hmm. yes and no. DM is quite different to A/R. I'm not opposed to > allowing it to behave similarly by some mechanism but I think > idiomatic DM shouldn't carry the baggage of A/R for the sake of > converting users. > > Personally, I want a tool that is internally consistent, with a > considered API supported by a small, active, thoughtful and engaging > community. I'm over catering to the lowest common denominator just to > increase numbers. > > My 2c worth. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
