Especially useful in the rails console
I wouldn't recommend using this in application code because having automatic handling of transactions via blocks with ActiveRecord::Base.transaction is way safer. However there are times where I want to open a transaction but have my ruby code eval'd in realtime in the rails console. Here's the code snippet to accomplish this using the . . .
This tweet came across my feed today:
I think this is great and more people who are able should do so!
- Create an open source ruby application
- Publish article on how to TDD w/ RSpec
- Create a talk on domain modeling literacy
- Article and talk on using Rails as only a persistence/delivery layer
- Find a mentor
- Mentor someone
- Produce an ambient album
- Read books: Snow Crash . . .
The following presentation sums up so much of my own methodology of skillful testing. I recommend anyone looking for best practices in testing. The talk has some Ruby but is certainly not language specific. Thank you so much @searls.
As presented at RubyConf 2015.. . .
Know what side of the hype cycle you're on
As with most things in technology, everything is tradeoffs. It's tradeoffs all the way down. So when I read an article describing how startup XYZ (which is probably an actual startup but I'm not going to look that up) switched from a "Monolith" to "Microservices" and then proceeds to only talk about the benefits of . . .
How to Force HiDPI on a Cinema Display
How do you simulate a retina display on a 27" Cinema Display? The main tool used to accomplish this SwitchResX. This will allow for custom resolutions and enabling HiDPI for those resolutions. I'm using a MacBook Pro (Retina, 15-inch, Mid 2014) model with the Intel Iris Pro 1536 MB for reference.
A current (2015) . . .
Posted in: os x