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.

Are you confused with Ruby's Throw, Catch, Raise, Rescue?

One of the aspects of Ruby that often confuses newbies coming from other languages is the fact that it has both throw and catch and raise and rescue statements. Avdi Grimm explains their usage in simple terms in this new article “Throw, Catch, Raise, Rescue… I’m so confused!”

If you are confused on these items then you really shouldn’t be programming …

Introducing YAMLRecord!

At Miso, we occasionally ran into situations where we wanted to persist simple data to a text (or yaml) file. Examples include landing page email forms, contact us forms, feedback forms, about us “team” page, etc. In these situations, we wanted a way to persist data to YAML and easily view the results in a text file but also manage the data through forms and controllers as any other data. To do this we have created a YAML-backed persistence engine called YAMLRecord for those situations so we can access YAML based data using a familiar ActiveRecord API.

Sorry but this is useless for all practical purposes
DataMapper >= 1.0 can be loaded into Rails applications, alongside ActiveRec…
@postmodern You could run dm beside AR but why would you? All for the benefit o…
@AnonymousCritic If the file contains a large amount (+1M) of relational data, …

LOCat - The Cat's Meow

Just released v0.1.0 of LOCat, a fancy-schmancy LOC analysis tool. I’ve had a very simple script for this in my utility belt for a long time now. I finally got around to taking it out and making it the “Cat’s Meow”. Have fun and please report any issues –this is an 0.x release after all. Here lies the homepage, an example and the source code.

FYI. Just released 0.1.1 which fixed a couple of reported bugs.
Yea, well, let’s try that again. Release v0.1.2 is out.
Loading older posts