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.

Rails Package Management

Released a tool that will act as Rails::Initializer’s config.gem and extract plugins and gems to vendor/ like “rake gems:unpack”. It’s portable configuration where you can copy it and paste to another Rails application. You can paste your .rpkg file to gist/pastie/pastebin and download it and merge it with rpkg merge Just good for people who don’t want to type: sudo gem install [plugin/gem] to run Rails application. Read this post about Rails Package Management.

New Screencast: Essential CSS for Every Web Developer

Want to know the basics of CSS? Watch this screencast and learn everything you should know as a web developer. We’ll cover the basics which include colors, borders, padding, margins, lists, fonts, backgrounds, tables, links and floats. This is a very basic screencast, so if you are already familiar with these topics, this might be just a review for you. Watch this screencast and more at TeachMeToCode.com

Why won’t you link to the actual screencast…
Added the link - that didn’t make any sense to me either :-)

Remember - Ruby object persistence

Remember provides quick and easy Ruby object persistence using Moneta to interface with key-value stores via a Hash. This allows you to have a globally persisted hash whose keys are available across different servers or ruby instances. [more inside]

jp@populuxe:~/Projects/remember$ irb -r 'lib/remember' -r 'moneta/redis' >&g…

Better Task Management with Nake

Nake is a task manager inspired by Rake. As well as Rake, Nake supports dependencies, multiple task definitions, file tasks, rules etc, but it can do more. It also supports advanced arguments parsing and task configuration. Nake is also 4x times faster than Rake. Nake comes with a lot of useful tasks for gem building, installation and releasing, running specs and also with snake executable for system-wide task (similar to Sake for Rake). If you are looking for documentation, take a look at Nake Wiki or clone the repository and go through examples.

Kill Trailing Whitespace With Code-cleaner!

I just released code-cleaner gem which is useful for removing trailing whitespace and adding missing \n. It has advanced whitelisting & blacklisting rules, so it’s clever enough to ignore your non-ruby files as well as your vendored dependencies. It can also add missing encoding declaration for Ruby 1.9 if you specify --encoding=[my-enc] and much more. [more inside]

CoffeeScript, a Little Language with a Pure Ruby Compiler

CoffeeScript is a little language with a Ruby-esque syntax that compiles into the good parts of JavaScript. The compiler uses vanilla Ruby classes for the lexer and code generation, and Racc for the parser. If you’ve ever wanted to use Ruby to experiment with a little language, it’s a good example to take a peek at.

Awesome! Integration with popular javascript framework and unit test is what re…

has_scope and responders released

We, at Plataformatec, just released two new open source tools: has_scope and responders, both extracted from Inherited Resources. has_scope allows you to quickly map controller parameters to named_scopes and responders is a repository of Rails 3 responders, which can already be used within Inherited Resources. As conclusion of this refactoring, Inherited Resources finally reaches 1.0. Read the blog post to catch up all changes.

Generating Thousands of PDFs on EC2 with Ruby

For about two months, we’ve been working on a static website that exposes the results of complicated economics model to non-economists. We decided to make the site static because of the overhead involved in computing the results and the proprietary nature of the model. We would simply pre-generate the output for all valid permutations of the inputs. However, on a single machine, we found it would take 30 hours of uninterrupted processing! Clearly, this was a job for “the cloud”.

That was a cool breakdown. Thanks for sharing.
Loading older posts