Rails: Email Previews
Rails mailer previews are easy until your emails need realistic data. Four approaches, from querying the database to FactoryGirl, rolled-back transactions and plain OpenStruct objects, and the trade-offs of each.
Ruby on Rails deep-dives, engineering lessons, and field notes on mentorship and running a software consultancy, from the team behind Bear & Giraffe.
Rails mailer previews are easy until your emails need realistic data. Four approaches, from querying the database to FactoryGirl, rolled-back transactions and plain OpenStruct objects, and the trade-offs of each.
The satisfaction of using software you've built carries over to everyday life. A first foray into handmade soap, complete with a cost spreadsheet showing homemade bars at about $1.30 each versus roughly $5 in stores, plus lessons from early experiments with honey and coffee.
Hiring freelance copywriters surfaced a striking pattern: among candidates with similar experience and portfolios, the men quoted $50–$100 an hour while the women, including the most experienced, quoted $25–$50. An anecdotal but telling look at how the wage gap can appear even when freelancers set their own rates.
A start-to-finish walkthrough of building drag-and-drop document uploads in Rails without a frontend framework: Cucumber scenarios first, then the UI, then the backend. It uses Refile for storage, DropzoneJS for drag and drop, and a remote form so the task list updates without a page reload.
Coding bootcamp graduates often finish their course with nowhere to turn: no career services, few junior roles, and the classic "you need experience to get experience" loop. Answering questions regularly is all it takes to become a mentor, so this post is an open invitation to reach out through Austin's developer communities.
Why Bear & Giraffe was founded: too many companies treat people as interchangeable statistics and expect them to leave their lives at the door. B&G sets out to show that a business can do great work while treating the people doing it as whole human beings, and adopts six pillars to hold itself to that.
Bear & Giraffe works through the classic mission-statement questions in the open, from why the company exists to how it treats clients. The answer: an iterative, transparent technical partner for small and medium businesses that puts the relationship first, not a vendor that upsells services clients don't need.
It’s the beginning of a new year (happy 2017 every body!), but this post is not about new year resolutions or anything of that kind. The new beginning in…