Ror integrates many "advanced" concepts, such as MVC, template replacement, Orm, entity verification, Ajax, database migration, and session storage mechanisms... and so on. Maybe today, these things are common, but you must know that the ROR framework was released a few years ago. As a result, the ROR went viral as soon as it came out, even the so-called "small a
ExploitationRuby-VCheck whether Ruby is installed.Gem -- versionCheck whether rubygems is installed.
Download Ruby installation in http://rubyinstaller.rubyforge.orgProgramWhen installing, check all the components, so that rubygems is the same as fashion.
After installing Ruby, run the following command:Gem install rails -- include-dependenciesTo install rails.
I use MySQL to install the database myself.
Finally, we installed netbeans for Ruby.
[Problems Encountered]
y
Label: Io color ar use Java SP for file data Ror is growing at an astonishing rate, especially when we often patronize javaeye and find that ROR already has a very good foundation in China. Of course, we should try it out. At present, there is still very little Chinese information about ror in China. When you look fo
that I could find Ruby projects by searching many English words. It is indeed a great deal of pressure to put these things directly into a beginner. The Getting start of Ruby on rails is too stuck on the surface. It is barely an early adopter and far from practical use. Relatively speaking, PHP is much simpler. The page is intuitively mapped to the PHP file and can be written without understanding anything (of course it is not easy to write ), the re
1) install Ruby:
Download the http://www.ruby-lang.org/en/ from the ruby182-15.exe and install Ruby.
Ruby-V to check whether the installation is successful.
2) install the rails framework:
Gem install rails -- remotes
For rails-V, check the version number and whether the installation is successful.
3) install j2sdk and Eclipse:
I installed the language file and used eclipse.exe-nl ZH to implement the Chinese culture.
Environment variable: Path: C:/j2s
1) install Ruby:
Download the http://www.ruby-lang.org/en/ from the ruby182-15.exe and install Ruby.
Ruby-V to check whether the installation is successful.
2) install the rails framework:
Gem install rails -- remotes
For rails-V, check the version number and whether the installation is successful.
3) install j2sdk and Eclipse:
I installed the language file and used eclipse.exe-nl ZH to implement the Chinese culture.
Environment variable: Path: C:/j2s
1) install Ruby:
Download the http://www.ruby-lang.org/en/ from the ruby182-15.exe and install Ruby.
Ruby-V to check whether the installation is successful.
2) install the rails framework:
Gem install rails -- remotes
For rails-V, check the version number and whether the installation is successful.
3) install j2sdk and Eclipse:
I installed the language file and used eclipse.exe-nl ZH to implement the Chinese culture.
Environment variable: Path: C:/j2s
1) install Ruby:
Download the http://www.ruby-lang.org/en/ from the ruby182-15.exe and install Ruby.
Ruby-V to check whether the installation is successful.
2) install the rails framework:
Gem install rails -- remotes
For rails-V, check the version number and whether the installation is successful.
3) install j2sdk and Eclipse:
I installed the language file and used eclipse.exe-nl ZH to implement the Chinese culture.
Environment variable: Path: C:/j2s
Four years ago, when I started preaching hibernate and attacking EJBs, it was accusation, but less than a year later, Hibernate was popular and accepted by most Java developers.
Three years ago, when I started praising Spring, Spring was also faced with EJB3 and EJB2 's accusations of not being presentable, but in less than a year, spring has become the preferred choice for most Java developers.
Two years ago, I strongly hope to publicize webwork, sing down JSF, to this day, webwork to Struts2.0
Today, I went to cyberspace to deploy my website for my friends. The server is a Windows2003 server. I did not expect to configure ror on Windows2003 as a nightmare, because I saw a lot of IIS and ror documents on the Internet. If you don't know, it's a nightmare. I was too busy till five o'clock P.M., but I still didn't configure it. I came back at night and thought about it. Something is wrong. It may be
Four years ago, when I started preaching hibernate and attacking EJBs, it was accusation, but less than a year later, Hibernate was popular and accepted by most Java developers.
Three years ago, when I started praising Spring, Spring was also faced with EJB3 and EJB2 's accusations of not being presentable, but in less than a year, spring has become the preferred choice for most Java developers.
Two years ago, I strongly hope to publicize webwork, sing down JSF, to this day, webwork to Struts2
Recently, I fell in love with ror and started to use it to do some small things, but there was always a garbled problem. Finally, I found a lot of ideas to solve Chinese Garbled text and shared them with you.
Development Environment: redrails use code: UTF-8 Database: MySQL
In radrails, in the project's Property dialog box, select the info node on the left and set the encoding method to UTF-8 on the right
Modify MySQL configuration
Is an integrated development environment for Web applications. Based on Eclipse, Ror is well supported. It can be installed independently, but this article will choose to install it as the Eclipse plug-in. To use it, you must first set up the ROR environment.
Step 1: Install Ruby.
$ Sudo apt-Get install ruby-full
After the installation is complete, run $ ruby-V. If you see the version number, it will be cor
unify the coding style! In Java projects, such problems can be basically eliminated.Because the code style is difficult to be unified, using Ruby programming in a large team can lead to obstacles to cooperation! 2. Ruby on Rails will lead to a high degree of code coupling, which is not conducive to collaborative development. Rails stipulates that it is difficult to break your code framework, whether it is horizontal function decoding or vertical hierarchical decoding.First, vertical hierarchica
UbuntuServer10.04 + RoR to install memo first download the UbuntuServer10.04 CD image, less than 700 MB. Then install. Only LAMPServer is selected for service installation. The first thing after installation is to configure sshd-server. UbuntuServer does not have sshd-server installed by default, so you need to install it manually. $ Su
Install memo on Ubuntu Server 10.04 + RoR
First download the Ubuntu Ser
Deploy the ROR project in linux-Linux Enterprise Application-Linux server application information. The following is a detailed description. The client asked me to remotely help him deploy the project to the server. I didn't give anything, so I had to find a solution and deploy it while querying data.
First, write down the code.
[Yzhang @ localhost ~] $ Mkdir trust
[Yzhang @ localhost ~] $ Cd trust
[Yzhang @ localhost trust] $ svn checkout http ://....
Set (ax) = 5, (BX) = 3, (CX) = 2, run the following program section, (ax) = lop: ror BX, cl adc ax, BX loop lop how does ror shift? Thank you.
Ror is the circular right shift command, which shifts the entire right of the destination operand from the number of digits specified by the source operand. The removed bits are refilled to the left blank bits and moved
ROL, Ror, RCL, RCR: cyclic shift instruction
; ROL (rotate left): Cycle left shift; ror (rotate right): cycle right shift; RCL (rotate through carry left): Bring-in loop left shift; RCR (rotate through carry right ): shift to the right of the bitwise loop; ROL: shift to the left of the loop, send CF to the lower position, and send CF to the lower position;
From the recommendation of a good ror Deployment Solution Performance Evaluation
Blog type:
Ruby
Railsnginxlighttpdapachegoogle at the beginning of this year, I wrote an in-depth analysis of the ROR deployment solution, and analyzed the advantages and disadvantages of various deployment solutions under the rails process running mode, and the topic on which the deployment scheme is optimal. At that tim
0
-->
$velocityCount-->
-->
1.
[Code]Refer to the single and multiple number conversions in ROR to write a PHP single and multiple number conversion class.
$inflector = new Inflector();echo $inflector->pluralize('bus') . '';echo $inflector->singularize('buses') . '';
2.
[File]Inflector. php
_update_plural(); $this->_update_singular(); $this->_update_irregular(); $this->_update_uncountable();
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.