1.1.rails
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 not, scripts u
://mirrors.163.com/ubuntu/precise-backports Main restricted Universe MULTIVERSEDEB-SRC
Http://mirrors.163.com/ubuntu/precise Main restricted Universe MULTIVERSEDEB-SRC
Http://mirrors.163.com/ubuntu/precise-security Main restricted Universe MULTIVERSEDEB-SRC
Http://mirrors.163.com/ubuntu/precise-updates Main restricted Universe MULTIVERSEDEB-SRC
http://mirrors.163.com/ubuntu/precise-proposed Main restricted Universe MULTIVERSEDEB-SRC
Http://mirrors.163.com/ubuntu/precise-backports Main restricted
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
Tutorial Requirements
The following techniques and resources are required to learn this tutorial:
Database server
NetBeans IDE 6.0 with Ruby support
To create a sample database
This tutorial builds the relationship between the Rails model based on another tutorial. If you have completed that tutorial, you can start with the project that was generated when yo
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
In the past few years, the open source Web development Framework Ruby on Rails has created a small upsurge in the web world. Like many things in the software world, its role is somewhat exaggerated.
Nothing is as magical as what people advertise it. But rails is at least as close to this altitude as it is, so it's worth studying for.
Not long ago, people were a
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
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
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
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,
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
How to optimize ActiveRecord in Ruby on Rails: railsactiverecord
Ruby on Rails programming often spoil you. This evolving framework frees you from the boring experience of other frameworks. You can express your intent with just a few lines of code snippets that you are familiar. ActiveRecord can also be used.
For an ol
Before you start
About this tutorial
Ruby on Rails (rails) is a full-stack WEB application framework written in Ruby, and Ruby is a rich, free, extensible, portable, object-oriented scripting language. Rails is very popular amon
Mongrel is a ruby HTTP library used to deliver Ruby web applications. In fact, do not use Apache mongrel alone can run the ROR program, the online tutorial using Apache is used to do web proxy, so that the website will not have a http://www.unbe.cn: 8081/such port declaration. I just did the test. Multiple port numbers won't affect me, so I only configured mongrel.
The configuration steps are as follows:1.
, you can install the above three, that is, Ruby, rails and Git)Attached official warning: http://www.cnblogs.com/lsgwr/p/5444208.htmlOne-click installation package: Link: http://pan.baidu.com/s/1slcMbTj Password: zhqlPython Development Environment Configuration1. First I installed the Python operating environment, green-free installation, decompression can be used, 2.7, 64-bitLink: Http://pan.baidu.com/s/1
Keywords: Ruby on Rails, instantrails, windows, getting started, tutorial
This article comes from my blog in blog Garden: http://www.cnblogs.com/dahuzizyd
Reprinted, please note that the source address of the blog in the blog garden has always been trying Ruby on Rails, but because it is not familiar with Apache and
controller branch
The name of the action passed past: Rails generate controller Say Hello World
Under the console, enter the rails generate controller Say Hello Goodbye command, where Say is the name of the controller class to be generated,
Hello and goodbye are two actions in the Controller class, and the rails framework creates a SAY_CONTROLLER.RB in the pr
Ruby on Rails Remote Code Execution Vulnerability Analysis in CVE-2016-0752)
If your application uses a dynamic rendering path (such as render params [: id]), unfortunately, this application currently has a remote code execution vulnerability caused by local file inclusion, please quickly update your Rails to the latest version or refactor your controller.In this
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
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.