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.
Setting up A Rails Development Environment with Vagrant + Docker
Docker seems like it’s going to change the way we deploy Rails applications and an essential step in taking advantage of this is using it in both development and production. This Rails and Docker Tutorial covers setting up quick and repeatable development environments using Vagrant and Docker.
Top 10 mistakes that Ruby on Rails programmers make
Ruby on Rails strives to simplify and streamline the web application development process. But while Rails is easy to use, it is also not hard to misuse. This article looks at 10 common Rails pitfalls, including how to avoid them and the problems that they cause. [more inside]
Why Swift Will NEVER Replace RubyMotion
I’ve been seeing a lot of tweets from people saying that Swift has basically killed RubyMotion, which is extremely far from the truth, and I’m going to explain why quickly and without much fuss, because people seem to just be saying it without thinking. [more inside]
A Big Week For RubyMotion Developers
This past week has been insane for me, with the RubyMotion #inspect conference, and now the massive announcements from WWDC, there is a lot of new things for us RubyMotion developers. Not only do we have a new platform (Android) to work with soon (which for a lot of you may be the first time you’ve ever touched it), but Apple has dropped some amazing new APIs for us to use, and we haven’t even seen close to all of them yet. [more inside]
ChainFlow – refactor your data processing
This article describes how to refactor and improve readability of complex data processing with syntax similar to Haskell do-notation and State monad. [more inside]
Rails Extentions
Split a monolithic app into small isolated apps and extending them with class extensions
Oracle Instant Client Installer
This is new gem for simplifying installation of Oracle Instant Client. Gem is here and explanations are here.
World Cup 2014 Match Picks/Predictions (w/ Open Source Sportbook Rails Web App)
Hello, I’ve reconfigured the sportbook - an open source Ruby on Rails web app for match picks/predictions - for the World Cup 2014 in Brazil (11 days an counting!). The sportdb gem lets you load the plain text fixtures into your SQL database of choice; see the worldcup.db fixtures in plain text or served up via a web app or try the World Cup Brazil 2014 picks demo (login with demo/demo). Cheers.
Get more from ActiveRecord::Store
You like ActiveRecord::Store with it’s serialised attributes but tired from converting attributes to a not string value?! Check out active_store_accessor which does all dirty work for you. [more inside]
Refactoring conditionals out of your code
I have prepared some Ruby code to show how conditionals can breed like rabbits, and how to spay and neuter those bunnies before it get’s out of control. [more inside]
Optimizing the Mobile Site (Variants + Framework7)
In this episode we show you how to optimize the response for our mobile site Video on Youtube.
7 Websites to Get Latest News About Ruby
I wrote list of ruby news websites
Using ActiveRecord scopes with activeadmin
We just wrote this blog post on Using ActiveRecord scopes with activeadmin.
Finished publishing 30 interviews with R...
Interviews with Ruby community leaders and contributors from RailsConf 2014 at http://www.ugtastic.com/category/conferences/railsconf-chicago-2014-interviews/. Examples of interviews are Aaron Patterson aka @tenderlove, DHH, Yehuda Katz & Tom Dale, Evan Phoenix creator of Rubinius, Obie Fernandez author “The Rails Way”, Carlos Antonio da Silva, and many more
MetaRuby - Building Classes Dynamically
Want to learn more about metaprogramming in Ruby? [more inside]
Avoid Rails When Generating JSON responses with PostgreSQL
I just announced PostgresExt-Serializers which allows you to serialize your JSON responses in PostgreSQL instead of Rails
Random (and probably useless) Rubyisms
New post on Group Buddies blog: Random (and probably useless) Rubyisms
Cells Integrates With The Asset Pipeline
Cells now allows to package JS, CSS and more into a cell directory making it really simple to integrate assets into the asset pipeline. This allows a highly modular and encapsulated architecture which is briefly discussed here.
The right e-commerce tools for the job (review of a Ruby on Rails e-commerce platform: Spree)
There’s an expression that to a person with only a hammer, every problem looks like a nail. Over time, familiarity makes most problems look like nails to which you simply apply your hammer. [more inside]
Convert a Github repository into a CMS
A gem for using your github repository as a content management system Writefully
Simple faceted search for your AR models without a search engine
I solved this often enough in apps to now release it as a gem.
How You Nest Modules Matters in Ruby
Ruby provides two different syntaxes to nest modules (and classes), and most Rubyists treat those syntaxes as interchangeable when they shouldn’t. Find out why the syntaxes are not interchangeable.