bottleneck On the database.
The main part of the code is to output 128000 4-digit decimal random numbers to simulate page data output totaling about KB. The invocation commands are very basic and fair for script testing.
However, since it is a virtual high-pressure test, there should be a simulation alternative to the time overhead of database read/write operations in the actual environment, so the server with high data pressure can be simulated through Sleep Ms. Of
Some websites collected by Ruby on Rails during this time. I personally feel good. If you are interested, please check them out.
Infoq
Codebetter
Napcsweb
Riding
Rails
Rubyonrails
Taoxi technology Diary
Rails framework technology lecture
Learning
The improved Ruby development environment in NetBeans 6.1
The NetBeans 6.1 Chinese version, released early this month, offers a number of new and extended features such as high-performance, JavaScript Editor extensions, Spring framework unification, and Easy-to-use MySQL support. For more information about new and extended features of NetBeans 6.1, see the following:
NetBeans IDE 6.1 Information: http://www.netbeans.org/community/releases/61/index_z
I. Railway
1.1 create a rails Application
Program
$ Rails app_name
Optional:
-D, database = xxx specifies to install a database (MySQL Oracle PostgreSQL sqlite2 sqlite3), which is a database by default
-R, ruby-Path = specifies the ruby installation path. If no path is specified, SCR javaspts uses env to find
I was eager to learn something new. I heard that ROR is very efficient in development, so I chose Ruby on Rails. It was really difficult to install it, here I will write down my installation experience:
1) install Ruby
Download installation package: http://rubyforge.org/frs? Group_id1_167,what I download is rubyinstaller-1.8.7-p302.exe
After installation, you
class is Mother. According to the rails convention, the Mother model corresponds to the mothers table in the database.3.: foreign_key => 'Mother _ id', rails will know, and the foreign key is 'Mother _ id '. in a one-to-multiple relationship, the foreign key is stored at the multiple end (that is, the sons). Therefore, in the sons table, a column must exist, called mother_id)Therefore, this complex SQL con
, start the program:
$ Rails Server
**NOTICE:C extension not loaded. This is required a for optimum MongoDB Ruby driver performance.
You can install the extension as follows:
Gem Install Bson_ext
If you are continue to receive this message over installing, make sure that the
bson_ext gem are in your load path and tha T the Bson_ext and MONGO gems are of th
IPhone or ipod touch. Use the IUI library as a mechanism to ensure that WEB applications follow Apple's interface appearance guidelines. The resulting application is much like a native iPhone application. This article describes how to create a downward-expanding list structure, similar to the IPhone's native mail application. Apple recommends the use of this structure because it is easy to navigate and is small in size, and can be downloaded quickly even with slower Edge network connections.
T
changingthepresent.Caching Static Content
Mongrel is a WEB server that is written by Zed Shaw using 2500 lines of Ruby and C. This small server consumes very little memory and is ideal for Ruby Web applications such as Rails, Nitro, Iowa, and so on. Mongrel can run on UNIX? and Linux? , you can also run on the Win32. Mongrel can also often run as an agent on th
Over the past few days, according to the book "using rails to develop agile Web Applications", I have also learned some Ruby on Rails knowledge, which is quite interesting, but not as fun as I imagined, for example, I encountered some problems when using ide To develop the ROR application. It took me half a day to understand it. I checked some documents at night
Using MVC thinking to understand the design structure of the Ruby on Rails framework, rubyrails
In rails, the process of sending a request (/users) is as follows:1). the browser sends a request (/users)2) Rails routes requests to the index method of users_controller.3) users_controller calls the User Model back to obta
I went to bed 5:30 last night, frantically configuring the vim environment and finally finished the fantastic Ruby on Rails development tool. I have installed the Vim-ruby in this vim environment, of course this should you to install, in Ubuntu below a simple command:
sudo apt-get install Vim-
Address: http://www.linuxidc.com/Linux/2010-12/30380.htm
Ubuntu is updated with Ruby and rails, but not the latest version. The ruby version is about 1.9.1, but rails version is only 2.3.5, Which is outdated, so you have to download the latest version.Source codeCompile and install.
1. Prepare the lib
Ruby on Rails on mac====================================================================================http:// Morizyun.github.io/blog/marvericks-rails-setup-ruby-rvm-msyql/for general:useful:http://qiita.com/keneo/items/ 0a58b188183b5100e3affor mysql:http://qiita.com/hkusu/items/cda3e8461e7a46ecf25dhttp://dev.classme
It seems to be another technical trend ~ Let's see if it can be pushed ~ Please note ....
Can a single-person force and a mantra of "Simplicity first" enable the development of Web applications?
David Heinemeier Hansson, a Copenhagen resident on November 26, has created a framework to help Web developers increase their productivity. In addition, he has developed a set of tools based on the original design.
Hansson's example is "Ruby on
There is a chance to try rails again, only the original contact is 2, now has become 4, it seems that the installation is now faster than the original.
Rails 4 Installation
Aimed at installing the RVM
Copy Code code as follows:
Gem Install Rails
If not, it should be:
Copy Code code as follows:
sudo gem install
Why is Ruby on Rails for application development, like Apple on desktop OS?
1.Ruby on Rails is optimized first for people, and secondly for editors and frameworks;
2.Ruby on Rails provides a fairly attractive new choice for web
ArticleDirectory
1. Install the Ruby interpreter
2. Install the rails programming framework
3. Install passpsenger and nginx
If you want to learn rails without MacProgramFor members, Ubuntu is the best choice. Unfortunately, the UBUNTU World lacks the legendary text editor textmate and, in fact, the best image editor Photoshop, fortunately,
Preface
In routing loading, I roughly introduced how to load the simplest route in rails. In this article, I will introduce how more complex named route and restful-related resources in the rails system are loaded. In order not to repeat too much pen and ink, this article will be carried out on the basis of the previous article. If you find that when reading this article separately, you are a little confus
Ruby on Rails on mac====================================================================================http:// Morizyun.github.io/blog/marvericks-rails-setup-ruby-rvm-msyql/for general:useful:http://qiita.com/keneo/items/ 0a58b188183b5100e3affor mysql:http://qiita.com/hkusu/items/cda3e8461e7a46ecf25dhttp://dev.classme
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.