Recently, we faced a huge performance problem with one of our installed apps. The application is a Call Center ERP solution. The Call model is updated very frequently as there are about approximately 8,000 - 10,000 calls being made everyday. For every action there is an audit trail, so updates and inserts into database are … Continue reading Case Study: Improving Performance of MySQL, Thinking Sphinx in a Rails app
This error appears when same action gets called twice. There might be chances to have controller with same name twice inside app as well as pluginsIn my case the error appeared while migrating from rails 2.1 to 2.3.Application was having application.rb and application_controller.rbFiles deleted:trunk/app/controllers/application.rbAnd that solved problem !
Here are the simple steps to be followed while upgrading rails version to use.# Install rails version1. gem install rails -v == gem install rails 2.3.3# Upgrade environment.rb for new version2. RAILS_GEM_VERSION = '' unless defined? RAILS_GEM_VERSION == RAILS_GEM_VERSION = '2.3.3' unless defined? RAILS_GEM_VERSION# Upgrade necessary files for the new version3. rake rails:upadte# Start server4. … Continue reading upgrading rails version
I wanted to migrate my project from rails 2.1.0 to rails 2.3.3so, i performed following steps, but it shows me memcached-client error.vi config/environment.rb# Specifies gem version of Rails to use when vendor/rails is not presentRAILS_GEM_VERSION = '2.3.3' unless defined? RAILS_GEM_VERSIONruby script/serverIt shows me error `install_memcached': 'memcache-client' client requested but not installed. Try 'sudo gem install … Continue reading Migrating project from rails 2.1.0 to edge rails 2.3.3
Rails community has released rails 2.3.3 recently with major upgrades and several bug fixes added.On the other side, Rails 3 ( i.e. merge of rails and merb framework ) is supposed to be officially get released in this May.Lets see what are the notable features added in rails 2.3.31. RackWhat is this rack ?Abstraction built … Continue reading What is new in edge rails 2.3.3 ?