yml (RSS)

Netbeans + JRuby Development Notes (2)

the number of ruby and char conversion In fact, there is no ruby type of char, if obtained directly 65.to_s only 65, want to be A, then so 65.chr Write this in the encryption and decryption algorithm ...

The success of the first test RoR

The success of the first test RoR Steps: First install ruby Address: http://rubyinstaller.rubyforge.org The second installation of rails gem ruby software management package gem install rails - includ ...

ruby and ruby reptiles in the database through the use of ActiveRecord

Today was a very good thing to play, which looked at a database full of data, more than indescribably happy. Specific code is not posted, a brief introduction to what to use. Crawler Crawler Beginning ...

common command rake

common command rake

configured to run redmine Memorandum

Installation InstantRails First of all, from the InstantRailsWiki: Instant Rails Download the latest version of InstantRails. Extract the downloaded file, run InstantRails.exe. Has been confirmed to s ...

ubuntu under the rails how to connect sqlserver?

Rails to connect SQL SERVER is a more complicated matter. Since different platforms are different methods of treatment. Take linux for a different release version has a different treatment methods. Re ...

Learn Ruby-2.0 Record - (create mysql works)

1, set up the project: rails bookstore-d mysql Add "-d mysql" database are changed to mysql; then want to modify \ bookstore \ config / following database.yml, Such as my changes are as foll ...

Ruby two! The妙用

See today in Rails line of code: One of the!! Bit hard to understand, that This is what the new grammar, click open the IRB tested,!! True and!! False such a case, plus!! Seems a bit superfluous, but ...

ROR environmental configuration (rails2.2.2 fell from 1.2.6)

ROR environment structures put my steps down - Memo 2009.1.26 ROR online to find some tutorials are ruby 1.8.5, rails1.2.6 to do based on the demonstration I use the version downloaded from the Intern ...

mongrel cluster

Mongrel cluster installation $ sudo gem install mongrel mongrel_cluster Access to the project root directory $ mongrel_rails cluster:: configure And at mongrel_cluster will generate a config directory ...

Using ActiveRecord from Rails

ActiveRecord is by far the best I have seen the ORM library, apart from DB2, supports all the mainstream databases. If you want to know how to use a separate Activerecord, please follow me. Introduce ...