RubyFlow The Ruby and Rails community linklog

×

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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Upgrading Ruby on Rails Insights and Strategies

https://blog.kiprosh.com/upgrade-ruby-on-rails-0eda77ac-6ba2-4893-8001-9a033702f9ef/ For the past few months at Kiprosh, we’ve done versions upgrade of multiple mid to large scale Ruby on Rails applications. One of them was running Rails version 3.2.22. That’s where we found out that, we need to make a lot of changes in our codebase to run our application on version 4.0. Hence, we thought to write this blog post to share our insights and recommended strategies for upgrading such mid to large Rails applications.

Iterating over large tables in MySQL using ActiveRecord

https://medium.com/@rajagopals/activerecord-on-mysql-iterating-over-large-tables-with-conditions-453bd8761c8b . In a high volume analytics system, tables with millions of records are quite common and iterating over the full table or a subset of these tables becomes often necessary  — whether it’s to perform computations, run a migration, or create parallelized background jobs on the records. It becomes important to write efficient code for iterations because there is often an order of magnitude difference between a good and not-so-good approac

Ruby Quiz - Challenge #8 - Decipher Super "Sekretoooo" 240-Bit CryptoKitties Genome

Ruby Quiz - Challenge #8 - Base32 Alphabet - Convert the Super “Sekretoooo” 240-Bit CryptoKitties Genome to Kai Notation. Annipurrsary! Let’s celebrate one year of CryptoKitties - yes, more than one million cute little cartoon cats on the blockchain. Let’s convert the super “sekretoooo” kitty genome - that is, a 240-bit integer number where every 5-bit block is a gene - into the base32 (2^5=32) kai notation. Happy genome genetics slicing with ruby.

How business transactions help decouple Rails controllers

Ruby on Rails enables us to develop features fast and focus on what matters the most. However, if we don’t pay enough attention to the structure of the code we may end up with a well-known problem: fat controllers. This blog post explains how to achieve a more decoupled codebase through a series of refactorings, resulting in code that is easier to maintain and reason about: https://medium.com/textmaster-engineering/how-business-transactions-helped-decouple-rails-controllers-at-textmaster-4e211f026b93

Loading older posts