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.

Building Relationships in a Database and Querying with ActiveRecord

How exactly do we model relationships between different database tables, and how do we use those relationships in ActiveRecord? With Database Relationships and ActiveRecord [video] you’ll learn how to map a has_many and belongs_to relationship and more in databases, and cover how to query and join the data in ActiveRecord. This is the second week of my Database and Rails class at the University of Texas.

portalign - A rubygem for easily managing your EC2 security groups

Portalign is a rubygem designed to simplify EC2 security by aligning your EC2 security group(s) with your current IP address. This allows you to keep your ports 99.999% closed, while leaving them open for the only IP address that matters: where you are right now. Align the port, do your work, release the port. Easy and secure.

JavaScript Views Can Be Logical

Yea, about JavaScipt, but yesterday DHH was tweeting again about pushing HTML back from AJAX responses since they do not like logicless templates. But they do not have to be. Here is an article called View Controller Patterns With Spine.JS & SpacePen that explores Apple design patterns for ViewController that play out nicely with Spine.JS and SpacePen. Perhaps these methods can be applied to other MV* JavaScript frameworks?

And how does this relate to Ruby? :)
Loading older posts