Register | Login

Published Articles

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

Embedded System Design and Development workshop based training is happening in chennai on June 9th and June 10th


Workshop Content: http://www.ignitemindz.com/index.php/embedded-system-design-and-development-arduino-workshop-based-training-in-chennai-on-may-26-and-may-27


rails 3 authlogic installation and configuration

Posted by rajesh 1851 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'


/ - the root directory


/boot - keeps all information required for booting


/etc - keeps all configuration files


/bin - binaries required for the system to operate


/usr/bin - binaries of application for system to operate


/sbin - binaries  required for the system and only for root user


/usr/sbin - binaries of application for root user


/

In order to run a shell script we need to use the following command.


$ sh test.sh


sh will point the shell and execute the script called test.sh


Another method is to execute by changing the permission of the shell script


chmod 755 test.sh


./test.sh


Note: In this method it is mandatory that you need to use she-bang code in the top of your script. A

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.