[Rails] Re: testing: setting up checkbox value and tutorial problems

2011-10-09 Thread Mark Coates
Max, On number 2 below, I took a look at your code and it seems that it is trying to redirect to the deleted micropost with the 'redirect_back_or...' call in the controller. Not totally sure why it is giving you grief, but of course you could use some conditional logic to see if the delete succeed

[Rails] Re: Best Mongo Framework to work with Rails

2011-08-05 Thread Mark Coates
I'd challenge you to look for yourself at the feature comparison. The newest MongoMapper gem matches feature for feature with Mongoid. There may have been a time when Mongoid took the lead, but now they are just about even. And please don't think my recent patch being accepted into MongoMapper cor

[Rails] Re: Rails 3 performance

2010-04-04 Thread Mark Coates
This thread is quite interesting. I'm curious to see how all this plays out after the RCs and when optimization has been taken into account... Thanks for posting this. On Apr 4, 4:16 pm, Jacques Crocker wrote: > I believe this is a bundler issue. I had the same issue and tracked it > down to Bund

[Rails] Re: rails, dynamic tables and erp/crm

2010-01-07 Thread Mark Coates
Frank-- Take a look at http://friendlyorm.com/. That sounds like what you need... You can then evolve your data models on the fly. Or you could do something like create a CustomField model and make your User model so that it 'has_many' custom fields. You could even make it bi-directional and your