GitHub User: FreeAssoc
+1 for a redo of this episode showing API versioning and OAuth2. If you're focusing on providing an API, the view stuff is orthogonal.
Also, some context on perf would be very useful here.
Hello - Excellent tutorial.
Thank you djensen47 for pointing out the need to add
in model definitions when using Date or DateTime. Without it, the datetimes were being persisted as a set of discrete values (one each for day, month and year parts) and mongoid could not corece them back into a DateTime for display etc.
BTW I'm using mongoid 2.4.0 with Rails 3.1.3 and Ruby 1.9.3p0 and it did not work correctly until I made your addition. Cheers!