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.

nokogiri_bang_finders

Suppose you’re using Nokogiri to parse some HTML or XML, and an element you need is missing. What should happen? If you said “An exception”, try my tiny new gem, nokogiri_bang_finders. It simply adds lookup methods to Nokogiri that raise if nothing is found: at!, at_xpath!, and at_css!

Custom Table View Cells and AutoLayout with RubyMotion

Both AutoLayout and the creation of custom UITableViewCell subclasses is extremely important when doing iOS development, so once you’ve finished watching this episode, I’d like you to take away the knowledge of “Why is AutoLayout important?”, “Why create custom table view cells?”, “How AutoLayout works”, and finally “How to use AutoLayout when creating custom cells”. You’re going to learn these things while we take a look at our example RubyMotion application “Tasker”, and there is some new parts to MotionInMotion in this episode where I change up the format a little, with a bit more “Why” than just how, as well as a challenge for you at the end to practice your skills. [more inside]

Workflow Gem Explained

A look into the internals of Workflow and how it enables an easy interface to create a state machine. Check it out.

abc20180823 atlanta braves jerseys uggs outlet store pandora charms oakley sung…
http://www.longchamp-outlet.us.com http://www.uggbootssale.in.net http://www.ad…
canada goose jackets coach outlet online ralph lauren polo shirt la…

TheSotrableTree 2.5.0

TheSotrableTree is popular render-helper for AwesomeNestedSet trees. The Magick of this gem in simplicity of implementation. Gem used recursive function to render tree. But recursion is very slow when tree contain more then 100 items. This problem solved with index-hash. Yesterday I patched this index-hash, because I found logic mistake. Previous versions should works fine, but current version more stable. Please, read release note to know more.

Debug a Stuck Cache With a Simple Code Change

Partial caching is a great way to get some major page speed improvements without a lot of work. But if you forget a touch: true on one of your associations, or your template dependencies aren’t working right, your cached partials won’t get updated. Rails’ development environment usually runs with caching disabled, so you’ll need a simple way of enabling caching temporarily to investigate and reproduce your caching bugs.

Help fund Rails Girls Summer of Code 2014!

Rails Girls Summer of Code offers three-months full time scholarships to programming newcomers. We aim to support 20 students (10 teams) to work full-time, expanding their knowledge and coding skills by/while contributing to a great Open Source project. Last year’s Summer of Code has been a raging success. This year we will make it happen again with your help!

Paginating Database Results In Rails Active Record

Paginating database results is a standard feature of most web applications, yet isn’t something you’d want to necessarily implement on your own. Fortunately, Rails developers have a whole host of options at their disposal, including the will_paginate gem. This post shows you how to easily integrate will_paginate into your Rails application. Read the post.

Loading older posts