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.
Simple tutorial on how to integrate Facebook and Rails 5
Learn how to do a simple Facebook integration in Rails 5 using Devise, Omniauth and Koala.
Exploring infinite sequences
Infinite sequences can make some algorithms (like numerical analysis) more clear by allowing common code to be reused. Haskell’s lazy evaluation makes infinite sequences easy in that language, but it’s possible in Ruby, with a little work.
Using React in your Rails app
Learn how to use React easily in your new or existing Rails app.
Writing Ruby gems with Rust and Helix
Learn how to write (from scratch) faster Ruby gems with Rust and Helix.
Why write code when more dependencies will do?
Adding gems is so easy, but sometimes your own code is better. Why write code when more dependencies will do?
Obey the "Single Level of Abstraction" rule
This rule helps to make your code more readable, you must obey the rule.
Lessons learnt in our third year running a Ruby dev consultancy
Hola everyone! It’s been a while since I haven’t posted anything, but I’d like to share our latest blog post. [more inside]
A quick tour of metaprogramming
If you pry into the beating heart of any Rails application, any testing framework, any beautiful DSL, you’ll find it filled with metaprogramming: code that writes code. In fact, a lot of the features Ruby devs use would be impossible without it. Yet many of us prefer to avoid metaprogramming in our own code. This is a brief tour of metaprogramming for Rubyists.
Rails_DB upgrade
Thanks to @bbenezech of doing a lot of changes to rails_db gem and cleaning up some dependencies. [more inside]
Rails 5.1 adds delegate_missing_to
This blog discusses how Rails 5.1 added delegate_missing_to method.
What’s new in Rails 5.1
Let’s take a look at some of the changes that Rails 5.1 brings
19 Ruby on Rails Gems which Can Amaze
Ruby on Rails is great for its gems. Our team has picked up our favorites to share them with you. https://blog.rubyroidlabs.com/2017/04/19-ruby-on-rails-gems
Phoenix is better but Rails is more popular
Some thoughts about which framework to use. Ruby on Rails or Phoenix Framework? Ruby vs. Elixir.
Fragment Caching with Rails 5.1
A quick introduction into fragment caching with Ruby on Rails 5.1.
[Screencast] DataTables
The DataTables Javascript library creates a powerful display of your application’s data. Some of the features include pagination, server side processing, sorting and search. https://www.driftingruby.com/episodes/datatables
Planet Feed Reader in 20 Lines of Ruby (Atom, RSS & @JSONFeed)
Hello, I’ve added a planet feed news reader sample in 20 lines of ruby (with inline erb template) to the universal feedparser gem docu. Note: the feedparser now has built-in support for the new JSON Feed format. Happy planet. Happy hacking. Cheers.
S[O]LID - Open/Closed Principle by example
Describes how to keep classes and methods open for extension but closed for modification:
APIQ CMS v0.9.0 release
APIQ CMS v0.9.0 release was made. [more inside]
Leveling up with Git
Level up with Git — From the basics to managing multiple cross dependent branches and emergency situation solutions.
Put your tests to good use, Refactor with confidence
Testing your code well is hard, and it can be easy to neglect. You’ll be glad you didn’t though when you have to change the implementation of a feature without your users noticing anything, except maybe a performance bump. Let’s go through how we can use and modify existing tests to allow a change in code that you can be confident will work when you get to production.
Ruby Loops
Newbie in Ruby? Me too, let’s learn together? [more inside]
DotenvSekrets gem
I’ve just released a new gem named DotenvSekrets that joins the power of dotenv and sekrets in order to allow encrypted env files. [more inside]
Find Unused DB columns with paper_trail
I have been looking for methods to detect inactive fields in our DB, this is the first quick method I came up with.
Exploring Handlebars JS features !
Lets explore some Handlebars JS features ! [more inside]