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.
MailRoom, Now With Sidekiq and Que Support
Before today, MailRoom primarily delivered mail messages from IMAP via a POST request to an API you configure. Now, thanks to the work of Douwe Maan (for a GitLab feature), there are delivery methods for enqueuing work into redis or postgresql to be handled by your own Sidekiq or Que workers! [more inside]
Serve Multiple Sites or Views with a Single Rails App
I wanted to reuse my application in a different website. Heres how its done. http://solidfoundationwebdev.com/blog/posts/serve-multiple-sites-or-views-with-a-single-rails-application
Keeping your logs from becoming an unreadable mess
When you run into a strange, seemingly unsolvable bug, improving your logging can be the best step you can take. But log too much, and your log files will quickly turn into a jumble of unreadable, unhelpful messages. How can you slice just the information you care about out of that pile of data? Can you print messages in a way that’s easy to filter later?
Private, Partner and Public APIs
In lesson 2 of the Build Less, But Better Software email course, we looked at the group of people who are likely to use a business’ API: internal developers, third-party developers, and partner developers. [more inside]
Why struct? Not Hash or OpenStruct?
When we want to store the key value pair most of them prefer Hash, because that is how we learned from the basic. But in real time compare to Hash and Openstruct, Struct works better than other key value storage… Find the useful arcticle http://bit.ly/1hWI1aM
Best Rails image uploader - Paperclip vs. Carrierwave vs. Refile
Everybody that has ever implemented file upload by hand in a Rails app knows that it’s no cakewalk, not to mention a major security risk. That’s why we use gems to handle file upload for us! But often it’s hard to decide which one to choose for your project. Read more
Having No Fun with Rubygems, Systemd, Docker and Networking
Recently I faced a rather strange issue with networking and docker: I was neither able to install Rubygems in a container nor access any other services on external IP addresses. In this article I’m going to describe how I solved this issue and what I learned about systemd-networkd.
Camaleon CMS– The Latest RoR Content Management System
Ruby on Rails is an open source language and a lot of content management systems are based on it because of its flexibility and secure user interface. Camaleon-CMS is an advanced and dynamic semantic personal publishing CMS based on Ruby on Rails. Read more
We have open sourced our website https://github.com/railslink/railslink
www.rubyonrails.link is ruby on rails slack chat community, we have open sourced our website https://github.com/railslink/railslink [more inside]
You’ve Got Mail: Action Mailer + Letter_Opener
There’s one thing that everyone loves: getting mail! But there’s one thing that all developers would rather avoid: sending mail. This blog post delves into the details of using Action Mailer and setting up the letter_opener gem to use in development
Pros & Cons of Ruby on Rails
In this article we look at the Pros and Cons of Rails and explain why we think it’s a fantastic choice for a modern web application. We also explain why Rails is Smart Car of the software world and why PHP is the ugly Fiat Multipla. View the article here
Understanding Method Missing
Looking at the StringInquirer class in Rails as a way of understanding how method_missing works.
Kickstarter for Rails Composer
Support a Kickstarter for Rails Composer. Rewards include tutorials from RailsApps (Daniel Kehoe), GoRails (Chris Oliver), RailsClips (Charles Max Wood), Learneroo (Ariel Krakowski), and Code4Startup (Leo Trieu).
Ruby Silent Casts : Episode 1
To brush up for interviews or to learn the basics, watch : Ruby String Basics : Part 1
How to test the Ace editor with Capybara and RSpec
I coach a developer who is building a Rails app to give other devs easy access to an in-browser Ruby environment. One of the challenges we faced was how to test the Ace editor that users will enter their Ruby code into. Here’s our solution: https://eliotsykes.com/testing-ace-editor
Statically typed Ruby - method signatures sometimes lie.
As you all remember, Matz, the creator of Ruby, announced an idea that Ruby 3.0 might be statically typed. [more inside]
Rails Engine to compose and send newsletters
Chaskiq is a mountable Rails engine to send newsletters, it works with Amazon SES to send mails and Amazon SNS service to get the bounces & complaints (spam). The SNS integration is optional but recommended in order to get those features. [more inside]
Check Here How Your Android Device can be configured as a Web Server!
The question that is often asked by techies and businesses today is, is it possible to use your Android device as a web server? Well, it is possible and what if we say you can do it right now! Yes, there are apps that allow you to instantly configure your mobile phone as a web server and function as such. [more inside]
New Jekyll Theme Directory Browse by Author, A-Z, And More - A Jekyll Site ;-)
Hello, Max White has relaunched the Jekyll theme directory listing more than 100+ ready-to-fork static sites. What’s news? You can now browse by authors, A to Z. You can subscribe to a web feed and best of all you can try out live demos. Any theme missing? Add yours! It’s just another Jekyll site ;-) Cheers. PS: My favorite theme? Of course Dr Jekyll Classics Books ;-) What’s yours? Let us know. Cheers. (Update: Use new themes.jekyllrc.org domain).
4th edition of RubyIssue(s)
A curated list of ruby related issues collected from GitHub. Bi-monthly email delivery. This 4th edition focuses on documentation. Help the Ruby OS community writing some docs!
From RSpec to Fix
I wrote a short article to introduce Fix 0.7 features, and compare it with RSpec 3.3. Feedback are welcome!
football.db - European Champions League 2015/16 Fixtures (try $ sportdb new cl2015-16
Hello, The plain text football fixtures (datasets) for leagues, teams, match schedules, and more that you can read with the sportdb gem into your SQL database of choice now includes the European (UEFA) Champions League 2015/16. Try using the cl2015-16.rb Datafile to (download and) build yourself a copy e.g.: $ sportdb new cl2015-16 All data, code, and league and JSON HTTP API starter kits public domain. Enjoy. Cheers.
Restful-client - A micro-services environment helper
A handy HTTP client that provides opinionated solutions for some of the common micro-services use cases: https://github.com/AvnerCohen/restful-client