Register | Login

Published Articles » Ruby on Rails

In Rails 2.2 the form_for tag will be used in <% .


But in Rails 3.2 the form_for tag should be used with <%=


 


Error: Rails 3.2 could not find a java script run time error.

Solution:  In order to fix this error  in windows install  node-v0.8.1-x86.msi

for Linux install node.js


NOTICE:  CREATE TABLE will create implicit sequence "users_id_seq" for serial column "users.id"
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "users_pkey" for table "users"


 these are all not error messages. these messages are generated by rails to tell that it has created those things.


The user has not explicitly specified these things so r

rails 3 authlogic installation and configuration

Posted by rajesh 351 days ago (Editorial)

to add authlogic to rails


first install authlogic


gem install authlogic


edit Gemfile in your rails app and add the following line


gem 'authlogic'


Now run 'bundle install'


Follow the below mentioned steps to migrate an application from rails 2.2 to rails 2.3.


1. Install/Upgrade your rails to rails 2.3.5 and also install/upgrade dependency gem packages.


2. make a copy of your old rails application


3. change name of rails_home/app/controller/application.rb to rails/home/app/controller/application_controller.rb


4. change the rails ve

Sort News
Username:

Password:

Remember:
YourWiz.com, is a website that will allow everyone to share their knowledge, tip or information through community micro blogging.