template_path has been not only deprecated but is now gone. Try changing it to view_paths
Archive for the ‘Weird Errors’ Category
undefined method template_root=
Posted in Ruby on Rails, Weird Errors, tagged bug fixes, Ruby on Rails on December 18, 2008 | Leave a Comment »
Rails resources error – undefined method ‘site_*’ -using namespace
Posted in Ruby on Rails, Weird Errors, tagged bug fixes, Ruby on Rails on December 8, 2008 | Leave a Comment »
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| %>
undefined method ‘model’ in application.rb
Posted in Ruby on Rails, Weird Errors, tagged bug fixes, Ruby on Rails on December 1, 2008 | Leave a Comment »
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
The procedure entry point mysql_stmt_row_tell could not be located in the dynamic link library LIBMYSQL.dll
Posted in Weird Errors, tagged bug fixes, lessons, MySQL, Ruby on Rails on November 25, 2008 | Leave a Comment »
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
The dynamic link library LIBMYSQL.dll could not be found in the specified path
Posted in Ruby on Rails, Weird Errors, tagged MySQL, Ruby on Rails, tips, windows on November 25, 2008 | Leave a Comment »
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.
ERROR : could not find gem rails locally or in a repository
Posted in Weird Errors, tagged bug fixes, installations, lessons, Ruby on Rails, tips on November 25, 2008 | Leave a Comment »
If you find this error during rails installation, one solution may be this. Setting up http proxy Gem install behind proxy – MAC
Setting up http proxy
Posted in Weird Errors, tagged installations, tips, windows on November 25, 2008 | Leave a Comment »
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 [...]
Sphinx – DYLD Error
Posted in Weird Errors on July 18, 2008 | Leave a Comment »
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
can’t activate rails – already activated rails
Posted in Ruby on Rails, Weird Errors on July 9, 2008 | Leave a Comment »
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.
deconcept.util.getRequestParameter is not a function (NextGen)
Posted in Weird Errors on July 6, 2008 | Leave a Comment »
Make sure there is no multiplayer conflict. If you are invoking some other ‘swf’ in the same page, just comment it out and try.