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.
bhf Rails-Engine-Gem that offers an admin interface
I just launched bhf. A simple to use Rails-Engine-Gem that offers an admin interface for trusted user. Easy integratable, highly configurable and agnostic. Works with ActiveRecord and Mongoid. It’s an interesting alternative for ActiveAdmin with a slick user interface.
Update your Rubygems automatically
Starting from this week, Gemnasium can update the dependencies of your project automatically. It is now easier than ever to keep your Ruby project in shape by getting rid of the outdated dependencies. Read more
Code style matters
Are you using some guidelines in your project? If not, read how important is code syle.
The first Ruby on Rails in Asia - RailsPacific
The first ever Ruby on Rails Conference in Asia - RailsPacific. ( one day conference, one day workshop ) [more inside]
We discuss Methods, Arguments and Method Arguments (Beginner) - Codemy
In this episode we talk about arguments, methods and method arguments
Snapzu - New Place to Share Latest News About Ruby
I’ve created ruby tribe on Snapzu. You can post here some blog articles, projects, tools related to Ruby. Snapzu is site similar to Reddit, where users can send stories and votes on them.
Create a Rails app in 90 Seconds (Design, Features, Models included)
In August Drystorm.co will be launching with the aim of speeding up Rails app creation. [more inside]
factbook gem - Turn World Factbook Public Domain Country Profiles into Open Data (e.g JSON)
Hello, I’ve put together a factbook gem that lets you read in World Factbook country profile pages (in HTML) and returns a structured Ruby hash that you can save, for example, as a pretty printed JSON file e.g. For Brazil use: Factbook::Page.new( 'br' ).to_json Find ready-to-use country profile in JSON in the openmundi/factbook.json repo. Thanks to the CIA for the great service (and public domain data - no rights reserved, no copyright). Cheers.
Search & autocomplete with Sunspot, Solr and Twitter Typeahead.js (Part #2)
The integration of Sunspot and typeahead.js comes in Part 2
Finally! *Truly* random numbers in Ruby!
If you know much about computer science, you know that the best we’ve been able to do is pseudorandom number generation… until now! Check out the new fair_dice_roll gem for when true randomness matters.
Cucumber rake runner
cucumber_rake_runner is a simple gem allowing you to run rake tasks inline to the current cucumber process for testing behavior and output. For Jruby users this also eliminates the need to spin up a new JVM per rake task significantly reducing test run time. The gem captures both stdout, stderr along with the time taken to execute a rake task so that assertions can be made easily against them in your cucumber test suite.
The Vibe is Go! What's happening in Rails, programming and general awesomeness.
This week I have mostly been thinking about Go. I won’t bore you with the details. Unless you ask me. Continue your dosage of the vibe
Gitlab Backup Made Easy
Gitlab is a self hosted open source repository management tool built on Ruby on Rails. It offers a variety of features like code reviews, merge requests and activity hooks. It’s the perfect tool for companies that do not want to rely on third parties to manage their code. But, with self hosting comes the added risk of server failure and data loss. [more inside]
How to convert Ruby source code to PDF in Linux
In little example I want to show you how to convert part of Sinatra source code to pdf using Linux operating system.
TDD Antipatterns: Local Hero
Unmet data or configuration dependencies are a frequent cause of unexpected test failures, followed by long debugging. This post discusses a few examples.
Eager loading in Rails
Eager loading is a way to find objects of a certain class and a number of named associations. Here I share a post on using it with Rails. Check out: Eager loading in Rails
Battling Complexity in Ruby
New article by Coraline Ada Ehmke (@Bantik) on the challenge of battling complexity in Ruby and a new solution: Fukuzatsu.
Rails 4 is faster than Django 1.7 in creating a web app
I created a simple web app using Rails 4 and Django 1.7. Rails took less lines of code and commands than Django.
Silent scream of RubyMotion
As you probably already noticed we have one user that is constantly posting something about RubyMotion. Usually I have nothing against promotion of products on RubyFlow from time to time, but in this case we’re talking about posting 10 posts within just 30 days, which is on average post every second work-day. I would call it SPAM. [more inside]
Working with YAML Files - Codemy Screencast
We show you how to work with YAML files in Ruby ~ 13 minute video for beginners
Should You Learn RubyMotion or Swift?
A look at Swift’s future, whether it’s worth learning, and comparing and predicting it’s potential future, with RubyMotion’s past. A great read if you’re not sure where to focus your attention. [more inside]
Integration as Composition
I’m puzzling over the design for a worker and would appreciate your comments on it. I started with the pain of an ugly test, made an interesting refactoring, and decided to drop the test entirely, but I’m not at all sure this is the right decision.
Zero to Smoke Test with Sinatra (and Sequel and Pony and OmniAuth...)
Recently I added the first high-level test to a Sinatra app with no tests. This required a lot of initial setup, involving, among other things, RSpec, Rake::Test, Capybara, EmailSpec and Pony, mocking OmniAuth callbacks, and using DatabaseCleaner with Sequel. For the benefit of my future self and anyone else who needs to set up Sinatra for acceptance-level tests, I documented the whole process.
No More Ruby Videos on MetaCasts.tv
MetaCasts.tv will no longer be generating any more Ruby videos. Instead videos will be focused on Go instead. [more inside]