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.

Vienna.html - Europe's 1st Jekyll (Static Site) User Group - Start Your Own City.html

Hello, still a little early - if you happen to be in Central Europe - I’m starting up Europe’s first Jekyll User Group in Vienna, Austria. The group name is Vienna.html in honor of the static nature of a Jekyll site. Missing out? No worries - why not start you own YourCity.hmtl group. If you’re interested in all things “Static is the new Dynamic “ follow along on Twitter @viennahtml. Join us. No database required. Cheers.

Just Learn Rails (Part 2)

In a previous post I explained how “just learning Rails” is not as straight forward as the phrase portrays. Even the novice programmer who learns Ruby on Rails in a methodical progression may still run into hardship. However, this is not entirely the fault of young programmer, he or she was simply enabled into bad habits. Ruby on Rails enables the complete disregard of encapsulation.

Great article. I would love to see more parts :D

The Best of RailsConf 2015

I went through the 94 presentations from RailsConf 2015 and found the best of the best (IMHO). Here are videos of my 8 favorite talks, including a nice mix of general interest, in-depth Rails, and JavaScript-heavy topics. I decided to skip the keynotes in order to surface some of the presentations that maybe you haven’t seen yet. Enjoy!

Introducing TestChanges gem

TestChanges is a light-weight gem for testing only the files that have changed since a given commit. You tell it what your test tool is, what files to watch, and what tests to run. It’s similar to guard, except that you have to run it manually and the configuration format is YAML. [more inside]

Symbolized Hash with indifferent access.

Symbolized provides a Hash with indifferent access, but with keys stored internally as symbols. Useful when you have a lot of hashes with the same keys, and it may become inefficient to keep all these identical keys as strings. A good use case is data processing pipelines.

Keep your data types in check! Rails compatible validator to assert types.

No one is particularly fond of littering their code with trys and is_a?s. To remedy this, I make my models assert confidence that the data in my database is what I expect. I’m not talking about type coercion, type casting or any other munging of types that might happen on a typical read/write from your handy dandy ORM of choice. No no, this is the real deal, the bees knees, the elbows of a gazelle: actual type validation.

What is REST API ?

REST (REpresentational State Transfer) is a simple architecture that runs over HTTPS or TLS. The REST style emphasizes that interactions between clients and services are enhanced by having a limited number of operations. To read full article, take a look at RailsCarma Blog

Loading older posts