KEEP IN TOUCH

Join Newsletter

CALL NOW

Share with:


Recent Posts





Programming

Gems are installed by sources, or a repository which holds several gems. Generally all the gems you will need are either in gems.rubyforge.org or gems.github.com, so once you setup these two sources you don't need to setup more sources until you need a gem from...

Read More

Make a quick dump of a mysql database: mysql_dump db_name > backup-file.sql You can then read that dump file back into the server like this mysql db_name < backup-file.sql or like this: mysql -e "source /path/to/backup/backup-file.sql" db_name ...

Read More

operandwhat it does shift position of bits in Bignum and Fixnum ~bitwise NOT (high-presendence) &bitwise AND (medium-presendence) |bitwise OR (medium-presendence) ^bitwise XOR (medium-presendence) **exponent +addition -subtraction *multiplication /division %modulo operator ...

Read More

Go to script/console to open ruby in interactive mode. script/console loads your environments (everything in environment.rb and all your plugin and gem initializers), so you basically have access to all your models right from interactive ruby mode (IRB). Remember use of the p (or its...

Read More

Passenger is a great thing because it makes Rails apps able to be deployed on Apache. The installation is pretty painless, but there are a few gotchas you may want to know about. Start here: http://www.modrails.com/install.html sudo gem install passenger The installation will prompt you to add this...

Read More

Setup the working copy of the repository svn checkout First navigate to the root of your working copy. svn status This will list any files you've added, deleted or modified. svn add for any files you are adding to the...

Read More