The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Moving from Mandrill to SendGrid or Amazon SES
With Mandrill going away soon, I’ve explored two of the main alternatives to their addon. http://blog.nrowegt.com/amazon-ses-and-sendgrid-heroku-mandrill-alternatives/
tty-prompt v0.5.0
Newest tty-prompt adds ability to expand options similar to Git hunks functionality, gather more than one answer with intuitive DSL using collect prompt and makes asking boolean question yes?/no? much more flexible and robust. Finally, you can theme all the prompts!
Sycamore
I’m very happy to share Sycamore, a slightly unusual tree data structure with you. It’s MIT-licensed, has quite good test- and documentation-coverage and even if it’s not for you, it might be worth checking out since it contains an interesting solution to the problem of null-values. [more inside]
Start testing your HTTP proxies with `proxy_rb`
I just released v0.9.3 of proxy_rb. It’s an extension for rspec and cucumber to write unit and acceptance tests for your HTTP proxy infrastructure. There’s also some “getting started”-documentation available. [more inside]
Discover TDD
Do you want to learn one of the most vital Ruby skills on the marketplace? I made this course for you! http://www.blackbytes.info/discover-tdd-full-course/
From Rails to Hanami (Lotus) Part 1: Container Architecture, Models, Views and Assets
A pragmatic approach to migrate Rails apps into Hanami container: http://rpanachi.com/2016/03/28/from-rails-to-hanami-part1-container-architecture-model-views-assets
The Hidden Cost of Indexes
In today’s episode, we dive into indexing, and some hidden costs.
Versionaire 1.0.0
This library provides immutable, thread-safe, semantic versioning. It can also convert (cast) primitive objects like String, Array, and Hash into a Version and visa versa. For further details, check out the README. It will soon be used by Milestoner and Gemsmith to make project and gem management much easier. Enjoy!
Slide Show (S9) Presentation Templates Now Jekyll-Compatible (Using Liquid)
Hello, Starting with Slide Show (S9) v3.0 all slide show/presentation templates are now Jekyll-compatible and use Liquid. Why? The idea is that your slide show template pack is “just” a Jekyll site and, thus, you can use your Liquid template skills for creating or changing slide show / presentation templates and if you use GitHub you can use the free built-in GitHub pages service for live previews, testing, and more. For some first example see: S6 Blank templates and the live demo • deck.js templates and the live demo. Any favorite slide show/presentation package? Questions? Comments? Welcome. Cheers.
Why I left Blogger for Jekyll
Thought I’d share some of the main reasons I left Google Blogger for Jekyll + Github Pages. It’s not entirely Ruby-specific, but I thought other bloggers would find it interesting. Nonetheless, Jekyll is an excellent platform and I’m loving it so far! [more inside]
Check out Great tools for ROR
Hello Guys, I was reading on ROR , I found great post on ROR tools and now would like to share with you just check out http://www.seaniea.com/amazing-9-tools-for-ruby-on-rails/
Building a Debug Log Filter with Ruby
This blog post explains how to build a clean and useful debug log filter which improves day to day debugging workflow with Ruby and Rails. [more inside]
Common Bash Commands Done in Ruby
Bash is great for getting things done around your ruby project but it would be great to do some of that in ruby. Here is a post that explains how to replace some bash tricks with their ruby equivalents. Bash Commands – But In Ruby!
Ridiculously Fast API Authentication with Phoenix
With Phoenix, productivity is a first-class citizen. Micah Woods looks at how you can create a simple token-based API authentication from scratch.
Setting up git push code deploy to VPS
If you are setting up your own remote server/VPS for your next Ruby project you will probably like to make it easy to deploy your code with simple git push. It’s actually easier to set up than you think! Read more
Ruby on Rails project starter
Flexible project starter with mass of gems, which you can add at the very beginning and be free from initial setup. https://github.com/kvokka/onotole
left_pad
Ruby implementation famous npm’s left-pad is finally here - https://github.com/atipugin/left_pad
Improving your Microservices Integration Performance with Memcache and ETAGs
Many people are implementing microservices nowadays, a never ending spaghetti of services calling services calling services, and so on. And it becomes slower and slower. What to do? Many things, for sure, but we can start simple: using HTTP itself to help out. In my latest post I explore a simple scenario to explain basic concepts that every developer should know.
has_secure_token to generate unique random token in Rails 5
We can generate unique random token with Rails 5 [more inside]
Liquid Template Language Docu Reformated - Single-Page Black-n-White Book Version
Hello, I’ve reformated the official Liquid template language docu into a single-page black-n-white book version (using the Manuscripts format). Why? Some might want to print it. Some might want to download it as a PDF. Some might prefer a simple black and white style. Questions? Comments? Welcome. Cheers. PS: Note/Disclaimer: The book version is not (yet) perfect and a work-in-progress.
How to Build a Ruby on Rails Engine
Ruby on Rails Engines are miniature applications whose purpose is to supplement a larger Ruby on Rails application. If functionality can exist independent from a main application, an Engine can provide a wonderful degree of encapsulation. I wrote this step by step guide to help you get started building your very own Engine!
Cuba and React
Cuba-React seamlessly integrates React with the Cuba micro-framework. Any feedback/PRs/abuse gratefully received. Available on RubyGems and via gem install cuba-react. Enjoy!