Mandriva – Eclipse – Aptana RadRails

You want to do a new installation of Aptana RadRails IDE in Mandriva as an eclipse plugin.


  • Install eclipse first (selecting openjdk when prompted):
    sudo urpmi eclipse
  • According to the instructions here take the following steps:
  • From the Help menu in Eclipse, select Software Updates
  • Select the Available Sotware tab
  • Click the “Add Site..” button.
  • Specify the Location Url update site: and click OK
  • Select the checkbox next to the added update site.
  • Click the install button.
  • Complete instruction to install from update site and restart eclipse
  • Go to ‘My Aptana’ page and then the ‘Plugins’ tab on the top
  • Click on Aptana Rad Rails ‘Get It’ link and get through the next sequence of screens select ‘ok’.
  • Restart Eclipse and RadRails should now be installed.

undefined method `render_component’ with ActiveScaffold and Rails 2.3.2

When using a nested (or embedded) scaffold in ActiveScaffold with Rails 2.3.2 you have the error:

undefined method `render_component'

According to the issue here, in Rails 2.3 the render_component has been removed.

Install the render_component from:

script/plugin install git:// -r rails-edge

and restart your server, and it should be working.

undefined method `cache_template_loading=’ for ActionView::Base:Class

While developing on Rails 2.3.2 you want to deploy in dreamhost that uses 2.2.2 at the moment.

Although we could try to freeze the specific rails version we are using, it’s probably easier as a temporary solution, until dreamhost upgrades the rails version to do the following:

  • Make sure that we have the following line with the appropriate version of
  • RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION

    in the config/environment.rb file

  • Rename the application_controller.rb file back to application.rb
  • Comment out the following line from config/environments/production.rb
  • config.action_view.cache_template_loading = true