How to use any gem in the Rails production console etc.
December 15, 2016
How to use any gem in the Rails production console
How many times did you come across a great gem you wanted to try out in a production console, like benchmark-ips or awesome-print? Be it for performance or for readability, sometimes it's nice to be able to try out something new quickly without going through a pull request + deployment process. This is possible by modifying the $LOAD_PATH Ruby global variable and requiring the gem manually.
Writing a Rails Feature – Blow by Blow
This article was originally published by Richard Schneeman on his personal site. With his kind permission, we’re sharing it here for Codeship readers. My favorite part of seeing someone live code is all the mistakes they make, but not because I’m a mean awful person who likes to see others fail. Watching others recover from […]
Your Guide to Mobile Publishing Formats: AMP, Facebook Instant Articles, and Apple News
When’s the last time you gave up on a website because it took too long to load on your phone? Or encountered an ad interstitial on your tablet that mysteriously had no way to close? Slow and poorly-designed pages on mobile devices suck. They gobble up data and kill user experience.
Ruby 2.4 adds Comparable#clamp method
Comparable#clamp method is added to Ruby 2.4 to limit the object to a specific range of values
Common Rails Security Pitfalls and Their Solutions
Rails security essentials
Rails provides excellent support for software security, but you need to know how and when to apply those supports for them to work. Here's an overview of tools you can use to keep your applications safe.
Ember Tips: Computed Properties And Arrow Functions? Not A Good Idea
Karol Galanciak - Ruby on Rails and Ember.js consultant, building ambitious and high performant web applications.
Shop Around: Rethinking E‑commerce Strategies
As a newcomer to the UX field, I’ve recently been reading about best practices in web design. In Don’t Make Me Think, a classic UX book by Steve Krug, I came across this passage about navigability: