How to write a full-stack test (part two)

Many people don’t like the Gherkin/Spinach/Cucumber approach to testing. Why write the thing out in English and then just convert it to code? Why set up the database and test environment configuration twice? Cucumber’s step files are unmanageable! To the first comment, I think I’ve explained why I prefer it. It’s describing the problem, taking… Continue reading

Should I build my app as an API?

The short answer is “probably”. The long answer is “it depends”. The even longer answer is “it depends what you mean”. In the dark mists of time, when Rails was released, web-sites were web-sites and there were these relatively new things called web-apps; the boundary between them was fuzzy and hard to draw, but Rails… Continue reading