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
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
The strings-inflection helps you inflect English nouns and verbs. The algorithms that this gem uses are based on the analysis of 7,000 most frequently used nouns and 6,000 most used verbs in the English language. It also comes with its own templating to allow you creating more complex inflected sentences. Enjoy!
Hello, I’ve updated the Ruby Conferences & Camps in 2020 - What’s Upcoming? page. Anything missing? Updates welcome, see data/conferences2020.yml @ planetruby/calendar. Cheers. Prost. PS: Note, you can subscribe to updates via the web feed in XML or JSON.
A simple rails app demonstrating how to use Sidekiq for background jobs. https://gryffindor.in/blog/2019/11/28/sidekiq-by-example [more inside]
Read about the attempts of not using Rails stack and the problems encountered https://www.toptal.com/ruby/choosing-a-tech-stack
Rubyfmt, the exciting project from @penelope_zone continues to grow by the day. I set out to hack together a way to get it running slick on Atom. I’m writing today to share those few steps so that you, too, can enjoy the magic of Rubyfmt on Atom! https://dev.to/schwad/using-rubyfmt-with-atom-2oa0
The following checklist is aimed to help you protect yourself from improper usage of mocks and stubs. You may find yourself willing to add/remove items from the list – that is totally OK, just make sure that you stick to your final version.
Imagine that you are working on a large legacy application that also contains the dreaded ActiveRecord callbacks in the models handling most of the business logic. At some point, and under a certain level complexity, the mess caused by that choice might become hard to keep under control, the risk of introducing bugs will increase and the teams(s) working on the application will be way less productive. That will most likely lead to an attempt to find a better way of designing the application. The problem, though, might be that the scope of the application is so huge that introducing any meaningful changes to the application will take weeks, if not months. [more inside]
Ever felt that when your Rails app needs to handle complex business logic and multiple steps, your controllers’ methods can become a mess? [more inside]
When your application sends emails it is useful to know what happens to those emails, like whether it has been delivered, opened, or more importantly, bounced. In this post we’ll build a Rails application that can send emails with SendGrid and receive webhook events to track the status of those emails.
A “Getting Started” tutorial for setting up a Rails 6 application on Webpacker 4 with Bootstrap 4. https://rossta.net/blog/webpacker-with-bootstrap.html
Ruby on Rails is probably one of the few frameworks that developers keep coming back to. [more inside]