Open tomjaguarpaw opened 8 years ago
@saurabhnanda: I want to write a longer and more comprehensive tutorial for Opaleye. Do you have any suggestion for a tutorial from the Rails world (specifically ActiveRecord I guess) that I can use as a guide? It might be nice to work with the same tables and data as an existing tutorial.
Alternatively do you have an idea for a good data model I could use in the tutorial?
This is precisely what my end-goal for https://github.com/vacationlabs/haskell-webapps is, ie writing a tutorial for how to build a real life domain API using Opalaye (and 1-2 other libraries). The sample app and the DB schema has been designed specifically for that purpose.
@tomjaguarpaw The entire ActiveModel section at http://guides.rubyonrails.org is good. However, my first introduction to ActiveRecord was via Agile Web Development with Rails (Pragmatic Programmer) (link is for an older edition of the book, which I read, but is now probably outdated).
FYI: #235
https://gist.github.com/saurabhnanda/c2dc9526f9f99e6c10f92120326ee8a6