Tutorials

Building and Consuming a JSON API with Rails and React
To create a new project with rails, we need to use the rails new command with the project name at the end.We could also add some additional options. In this case, we will use --database=postgresql to use PostgreSQL as our database, --skip-turbolin...






The difference between domains, domain models, object models and domain objects
The world is a staggeringly complex place. Even relatively simple-seeming things like restaurants involve way more complexity than could be accurately captured in a software system. So instead of coding to a domain, we have to code to a domain mod...


PDF generator (from HTML) plugin for Ruby on Rails
Wicked PDF uses the shell utility wkhtmltopdf to serve a PDF file to a user from HTML. In other words, rather than dealing with a PDF generation DSL of some sort, you simply write an HTML view as you would normally, then let Wicked PDF take care o...