Right out of the gate, Ruby gives us some powerful ways to re-use instance and class methods without relying on
inheritance. Modules in Ruby can be used to mixin methods to classes fairly easily. For example, we can add new
instance methods using include.
This question comes up a lot, people want to have an object, lets call it a Product that they want to
create in several different steps. Let’s say our product has a few fields name, price,
and category and to have a valid product all these fields must be present.
Haven’t you always wanted to make some changes to your server and then absolutely slam it with traffic to see the result? Thats pretty much what I did last week while writing how to Super Charge your Rails App with Rack Cache, using the BlitzIO tool.
Slow is sweeping the nation: slow food, slow living, and slow reading. Unfortunately your app called, it said it
wants to be fast. Web apps that respond quickly are more enjoyable to work with and Google even gives them a small SEO
bump. Recently basecamp
next got quite a bit of customer love based on how quickly it responds. The fact of the matter is if it’s
on the web, fast matters.
Heroku just announced their support
of hstore in their dedicated Postgres 9.1 instances. Hstore is a schema less key value store inside of
PostgreSQL that allows us to store data like hashes directly inside of a column. It’s great for when you
don’t know exactly what types of attributes you need to store on a model, or if you need to support many
different attributes for the same model.
I love doing screencasts, but hate the way my MBP mic sounds, so I got a Rode Podcaster mic. You can see the difference in this quick video. All sound is raw and un-edited. I’m pretty happy with the purchase :)
Join me for a quick demo of Induction, the latest project by @Mattt from Heroku. Induction will let you view your data-stores including: PostgreSQL, MySQL, SQLite, Redis, MongoDB, and so much more. The alpha product also lets you run queries, and visualize data.
Lets admit it, code and Tumblr don’t exactly get along right now. Sure you can write your posts in markdown, but there isn’t really an out of the box experience for syntax highlighting in code blocks.