Mixing server-rendering of pages with an API in Rails
This is the recommended way of serving API-endpoints in a regular Rails application. Note the {format:json} in the “api” section. Rails default is {format :html} […]
Continue reading »Golden nuggets where no entry is longer than my expected attention span
This is the recommended way of serving API-endpoints in a regular Rails application. Note the {format:json} in the “api” section. Rails default is {format :html} […]
Continue reading »Intro Nowadays it is popular to create fullstack-JS applications (meaning both front- and backend written in Javascript) but what if you want to use the […]
Continue reading »Very often, I would say almost always, you have nested models in a Web application. In Rails, you (most often) specify it using has_many and […]
Continue reading »From Quora: https://www.quora.com/What-makes-Rails-a-framework-worth-learning-in-2017 David Heinemeier Hansson, Creator of Ruby on Rails, Founder & CTO at Basecamp The same reasons why it was a framework […]
Continue reading »I’d like to present a short and to-the-point instruction on how to add some Ajax pizazz to a simple Rails-generated page. It won’t take you […]
Continue reading »