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.
Seven Useful Custom ActiveModel Validators
I just wrote about 7 useful custom ActiveModel validators. Let me know if you’ve used similar ones or have any to contribute.
Deploy Rails Apps with Capistrano 3 - a Tutorial
We wrote a new tutorial on how to use Capistrano 3 to deploy Rails apps. [more inside]
Rendering data content via JavaScript template using Dust.js
I found this below article interesting as well as helpful. Rendering data content via JavaScript template using Dust.js [more inside]
a9n helps to manage ruby and rails app configurations
<a href”http://blog.lunarlogic.io/2014/rails-apps-extra-configuration-nightmare-solved/”>a9n is a new gem</a>, which helps to keep ruby and rails app configurations easily maintainable, verifiable and clean. Created by Krzysztof Knapik (<a href=” rel=”nofollow” https://twitter.com/knapo”>@knapo</a>).
Most loved Ruby on Rails project
A handy list of the most popular open source Ruby on Rails projects (ranked by the amount of stars on Github) - Most Loved RoR Open Source Projects.
ABC of Ruby on Rails
I just created a Medium Collection ABC of Ruby on Rails. I need your feedback and suggestions. Thanks!
The best gems for Rails beginners
Ruby Gems are essential for every Ruby on Rails programmer. They are a small pieces of already written and tested code which provide some functionality. For example, there are many gems which provides admin interface for your app. It means that you instal the gem, make some basic setup and you … Continue reading
A Survival Guide for Legacy Rails Apps
I wrote an article on some tips I picked up with working on legacy Rails apps. I hope you like it!
How to use jQuery UJS for AJAX requests
I just released a new screencast about using jQuery UJS and AJAX in your Rails apps.
How using object factories and mixing mutable and immutable state can lead to bugs in your code and
Using factories is nice to simplify your specs, but you should be careful with the mutable objects you could be reusing there.
github_api v0.12.0 just released!
I’ve released github_api gem after few months of rewriting internals. It has magical unicorn logo! [more inside]
Football Data - 10+ Leagues (Premier League, Bundesliga, ..) 10+ Seasons - Plain Text (CSV) Fixtures
Hello, Using a Ruby build script (that is, Rakefile) I’ve built up a GitHub org, that is, football.csv - for open football data in the CSV (comma-separated values) format, that is, plain old text. Leagues include the English Premier League, Championship, Bundesliga, Eredivisie, Süper Lig, Primera División, Pro League etc. for 10+ seasons (e.g. 2013/14-1993/94). Cheers.
Understanding Timeout in CRuby
I wrote a blogpost on Timeout Internals for CRuby to help people understand when it works and when it doesnt.
A Detailed Guide on How to Work with Ajax on Rails
We wrote a blog post on how to work with Ajax on Rails. If you are beginning to build Rails apps you may be surprised how easy it is to get this going. [more inside]
Detecting Trial Dates in Ruby
I wrote a small tutorial about how to create and calculate trial periods in Ruby.
Rails tips: #with_options
One of ActiveSupport’s useful methods, #with_options allows you to DRY out hashes passed to a collection of similar method calls - ideal for complicated has_many declarations. Read more on the Cookies HQ blog
The new HTML sanitizer in Rails 4.2
Learn how the Rails HTML sanitizer was revamped using Loofah and how t will look like in Rails 4.2. [more inside]
It’s Ruby, it’s Rails, it’s programming, it’s databases, it’s The Vibe
This week/s I have been mostly struggling with an outage in our primary care giver, realizing that my family is not really highly available and has no real disaster recovery plan. Roll on Spring, I say after a hard month of Sickness as a Service. I also went to the Docker meetup in Melbourne, which was excellent. Docker. So hot right now. Read the rest of the Vibe
Mustache 0.99.6 released
Version 0.99.6 of Mustache has just been pushed to Rubygems. [more inside]
Hidden features of Ruby you may not know about
Ruby is a fantastic language. Even when you think, you know all about it, you discover new ways of making your code more elegant. We’ve prepared a list of such features: [more inside]
How to automatically adapt website images to Retina and HiDPI devices
This article details how you can easily and automatically scale your website images to the resolution most appropriate to your viewers mobile devices or screen pixel density. Code samples included for Ruby on Rails and jQuery.
Ruby on Rails Web Development Company
To widen the scale of your business and get the advanced Ruby on Rails web development solutions, CSSChopper is the best company. Our emerging RoR development solutions aid you to achieve your diverse challenging business goals successfully. For more details, visit: http://www.csschopper.com/ruby-on-rails-development.shtml
Ruby on Rails Application Examples
I put together a list of interesting applications built with Ruby on Rails.