You can use profiling to determine where the performance bottlenecks are in specific Rails actions. Watch this episode for details.

Read more at the source