3904 cards
Linked content

The DevIL Image Library For Ruby « Like Dream of Banister Fiend

DevIL is a fast and lightweight image library that supports the loading and saving of images in almost any graphics format. It also provides some basic image manipulation functionality.

Linked content

Codaset // joelmoss / Rails Concerns

Concerns is a simple Rails plugin that provides you with a simple way to organise your Controllers, Models and Mailers, and split them into smaller chunks of logic. It is especially useful when you have lengthly models, and you get fed with having to scroll through several hundred lines of code.

Linked content

iPhone App Store roulette: A tale of rejection | Mobilize - InfoWorld

Apple's random rules for iPhone app approval are a recipe for trivial apps and alienated developers

Linked content

Validatious 2.0 - Easy form validation with unobtrusive JavaScript

validate( "email".is("required").andIsAn("email") );

Linked content

Google Chrome Frame - Google Code

Google Chrome Frame is a plugin for Internet Explorer that embeds the entire Chrome web rendering engine inside IE.

Linked content

SecureRandom -- Stop writing your own random number and string generators - Momoro Machine

Stop writing your own random string generators. Rails does this for you.

Linked content

has_many :bugs, :through => :rails: Make your shoulda tests faster with fast_context

decided to go fixtureless with Shoulda + Factory Girl. All good, except one problem. Slow as fuck tests. So here’s fast_context as a solution for it. fast_context compiles all the ‘should’s within a context into a single test.

Linked content

aanand's deadweight at master - GitHub

Deadweight is RCov for CSS, kind of. Given a set of stylesheets and a set of URLs, it determines which selectors are actually used and reports which can be "safely" deleted.

Linked content

ActiveRecord Optimization with Scrooge - igvita.com

The idea behind scrooge is both surprisingly simple and powerful: instead of forcing the developer to manually specify each attribute column, simply observe and record for some period of time all of the attribute accesses and then reuse this knowledge in the future to automatically optimize your subsequent query requests.

Linked content

Ruby Metaprogramming: Dynamically Inherited Methods™ | upstream agile - software

All methods generated by string_attr_reader are now added to that new module instead of the class. The result is that when overriding those methods you can now call super because they’re are inherited from the new module.

Linked content

Background - cucumber - GitHub

Background allows you to add some context to the scenarios in a single feature. A Background is much like a scenario containing a number of steps. The difference is when it is run. The background is run before each of your scenarios but after any of your Before Hooks.

Linked content

Tracking Down Slow-Running Examples in RSpec » Idol Hands: An Alpha Geek Guide to Ruby on Rails, DIY, and More

Passing the --profile flag to RSpec produces some additional output, namely the running times of the ten slowest examples in your specs.

Linked content

Using SSL in Rails Applications

On any page accessed with SSL, all Ajax requests must use SSL, or they will fail. To make this happen, all you need to do is include the names of the actions that service the requests in your ssl_required statement.

This website uses short-lived cookies to improve usability.
Accept or learn more