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.
Looking for a project to practice your Ruby skills? Let’s build one together! http://www.rubyguides.com/2017/11/sinatra-link-shortener/
Avdi Grimm recently wrote a post in which he lambastes the rise of service objects. As an advocate for service objects I was interested in reading about their shortcomings. I want to know the strengths and weaknesses of the tools I use. That’s not what I found. Instead, I found a post that simply contradicted my own experience. Read More
We recently added Webpack to our Rails 4.2 app using the new Webpacker gem. In this post, I’ll share some challenges and lessons we learned along the way. https://rossta.net/blog/from-sprockets-to-webpack.html
Learn some of the aspects of functional programing language with Ruby. And see how useful is to use it in your daily tasks.
Frameworks, TDD, what to test/what not to test: What constitutes good testing in Rails?
Learn all about Ruby’s Exception class in this week’s Exceptional Creatures profile.
I had to follow an unconventional approach to understand why and where our Ruby app is so slow, more here: https://blog.kollegorna.se/ruby-performance-profiling-an-unorthodox-approach-69c549e3293b [more inside]
The database - not Ruby 😮 - is the most common performance bottleneck for Rails apps. Scout adds database monitoring to its app monitoring product to make it easier to identify expensive queries and resource issues.
Slow tests can slow down your development process. Using parallel_tests, you can speed up your test suite by multiple threads and running the tests in groups. https://www.driftingruby.com/episodes/speeding-up-tests