There is a great post at the 37signals blog about how they optimized Basecamp using New Relic. One thing I found most interesting:
MySQL optimizations: We’ve been working with a MySQL performance consultant to help us optimize our database calls and queries. We’re still early in the process but we’ve learned a lot so far.
As with [...]
Clemens Kofler has a great post about when to raise exceptions within your Rails application:
Over the years I’ve come up with a little rule of thumb for exceptions:
Libraries Should Raise, Applications Should Not Raise.
Yes, it’s as simple as that. To understand the reasons for my rule of thumb, we have to switch to the world [...]
I’ve been looking for a microframework for Ruby that is simple like Camping but supports RESTful resources like Rails. A tip from the Denver Rails UG pointed me to Sinatra via Adam @ Heroku’s Blog:
Sinatra apps are typically written in a single file. It starts up and shuts down nearly instantaneously. It doesn’t use much [...]
I was trying to setup the proper environment settings in Rails 2 to support cross-subdomain cookie sharing (so the user doesn’t have to login again if they manage multiple subdomain accounts). I was experiencing some inconsistencies when trying to make sure it was working. Here is a tip:
Clear your cookies (the Firefox Web Developer plug-in [...]
I’ve been working on a project that uses a little XHR mixed into the app to update DIVs on a page. The problem with the RESTful Authentication plugin is that it will always send a redirect back to the browser if the user is no longer logged in, but the XHR callback will simply try [...]
I’m working on a new project that is using the RESTful Authentication generator with Rails 2. As I started to take advantage of the label references capability in Rails 2, I ran into some problems. The default fixtures provided by RESTful Authentication look like this:
quentin:
id: 1
login: quentin
email: quentin@example.com
[...]
I hear some founders say that one technology is the same as another when launching a startup. Scott Abel, chief executive of Austin-based software company Spiceworks Inc, says differently:
Choosing correctly was key, Abel said.
“You pick the right one, and everybody wants to be on your team; the cool, super-smart people flock to you. It’s huge [...]
A new Reddit page dedicated to Ruby is now available: http://reddit.com/r/ruby/. You can subscribe using RSS. Just keep in mind that it is early.
If you want to follow my notes from the Lone Star Ruby Conference 2007, you can subscribe to my Pownce page. For those at the conference, I’m seated against the wall stage left, near the middle set of double doors. Feel free to stop and chat!
[tags]LSRC2007, Lone Star Ruby Conference 2007[/tags]
I’ll be at the Lone Star Ruby Conference on Fri Sept 7th and Sat Sept 8th, so if you will be there, drop me a comment or note and let me know so that we can meet up.
[tags]Lone Star Ruby Conference, LSRC[/tags]
Recent Comments