Feeds:
Posts
Comments

Archive for the ‘Weird Errors’ Category

template_path has been not only deprecated but is now gone. Try changing it to view_paths

Read Full Post »

If you use the namespace route like the one below : map.namespace :user do |user| user.resources :invitations end Make sure you have the links like the following; <% form_for([:user,@invitations]) do |f| %> Don’t try with; <% form_for([@user,@invitation]) do |f| %>

Read Full Post »

I think you’re running Rails 2. This line will work only with Rails 1. The ‘model’ method is no longer supported.Remove that line from the code. (E.g) undefined method `model’ for ApplicationController:Class – Line 12 in applicaton.rb

Read Full Post »

If you are getting the following error, here is a quick fix that will get you working again. You will need to manually copy the libmysql.dll to the rubybin directory. Search for libmysql.dll file and copy it to the rubybin folder and 

Read Full Post »

When you find this error alert in windows, make sure you do one of the following; Find the LIBMYSQL.dll file and add its location to the PATH(environment-variable) (or) copy LIBMYSQL.dll to the System32 directory.

Read Full Post »

If you find this error during rails installation, one solution may be this. Setting up http proxy Gem install behind proxy – MAC

Read Full Post »

Setting up http proxy

Windows XP 1. Open the Control Panel and click the System icon. The System Properties dialog is displayed. 2. On the Advanced tab, click on Environment Variables. The Environment Variables dialog is displayed. 3. Click New in the System variables panel. The New Sytem Variable dialog is displayed. 4. Add http_proxy with the appropriate proxy [...]

Read Full Post »

If you see the following error: dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib Referenced from: /usr/local/bin/indexer Reason: image not found Now, the expected file path is incorrect – it shouldn’t have the second ‘mysql’. Create a symbolic link and it should work: sudo ln -s /usr/local/mysql/lib /usr/local/mysql/lib/mysql

Read Full Post »

Running the following should fix your issue rake -f lib/tasks/common/rails.rake rails:link Which tag would you like to link? Choose the version which it expects. It will create ‘rails’ folder under vendor with the dependencies. Hope it fixed.  This happens due to multiple versions.

Read Full Post »

Make sure there is no multiplayer conflict. If you are invoking some other ‘swf’ in the same page, just comment it out and try.

Read Full Post »

« Newer Posts - Older Posts »