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!

Speed up ActiveRecord with a little tweaking

When you’re building a new Rails app, ActiveRecord’s defaults will take you far. Querying with .where, inserting with .save — it’s all so easy, and it’s fast enough. But when a page of mostly simple content takes a second or more to come back from the server, that’s when you know you’re going to have to spend some time on performance. Luckily, you don’t have to go too far from the simplicity of Rails to see drastic improvements in your app’s response time.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in