If you come across this error when doing svn co,
svn: error: cannot set LC_ALL locale
svn: error: environment variable LANG is UTF-8
svn: error: please check that your locale name is correct

Just issue in your terminal,

export LC_ALL=en_US

If you want this settings permanently, add them to ~/.profile or ~/.bash_profile

Download and install Mysql first. The installer is available in the following location,

http://dev.mysql.com/downloads/mysql/5.0.html#macosx-dmg

Now issue the following command.

sudo env ARCHFLAGS=”-arch i386″ gem install mysql — –with-mysql-config=/usr/local/mysql/bin/mysql_config

Rails ActiveRecordMigration manages changes to a database schema. Migrations allows a developer to manage rollout, and rollback, of database schema changes in a controlled and consistent manner.
Sample Script:

class SampleMigration < ActiveRecord::Migration
def self.up
end
def self.down
end
end

Within this migration’s up method, you’d place all of the code necessary to make one logical database change. You’d also capture any change to undo any schema changes. By encapsulating up and down, Rails development and production tools can automate the process of deploying and backing out any change involving persistent object models. These database changes can include:

Celebration means……

Four friends.

Bahar barsaat.

Four glasses of tea.

Celebration means……

Hundred bucks of petrol.

A rusty old bike.

And an open road.

Celebration means……

Maggi noodles.

A hostel room.

12 a.m.

Celebration means……

3 old friends.

3 separate cities.

3 coffee mugs.

1 internet messenger.

Celebration means……
Rain on a hot tin roof.

Pakoras deep-frying.

Neighbours dropping in.

A party.
You can spend

Hundreds on birthdays,

Thousands on festivals,

Lakhs on weddings,

but to celebrate

all you have to do is spend your Time with your loved ones.

Keep in touch who cares for you…

Page 37 of 46« First...«3536373839»...Last »

Categories and Tags

Advertising