the line to the following code:
[3] app/views/memos/index.html. ERB file, Row 3
Change the line to the following code:
[4] app/views/memos/index.html. ERB file: 27th rows
Change the line to the following code:
2.6 modify the config/application. RB File
Cancel the comments of row 20th and line 21st, change 'my to 'config', change de to: ZH, and add a line of code config. encoding = 'utf-8'. The Code is as follows:
config.i18n.load_path += Dir[Rails.root.join(‘config‘, ‘locales‘, ‘*.{rb,yml}‘)
configuration information. In the/project directory/config/database. yml file, modify the configurations of the "development", "test", and "production" databases to their own configurations.
Among them, development is the database to be used in our development. Be sure to keep at least one space behind username: And password.
4) In the CMD window, enter the rake db: craete command to create the database set in the configuration information in msyql.
5) We use scaffold to generate code and input
Using Ruby On Rails on Bluehost:
This is intended to be a brief introduction to developing ruby on rails applications on a bluehost account. at the bottom of this article you will find a number of resources to help you learn more about ruby on
the current working environment. After that, you can switch back to the working gemset.
Most ides also support RVM. You can automatically identify the Ruby version and GemSet managed by RVM to switch the Ruby parsing environment.
Build a Ruby on Rails environment on CentOS 5.9
Configure
Ruby on Rails ...... It has nothing to do with. net ...... The homepage is for more people to access Ruby on Rails ...... Withdraw tomorrow ...... Http://www.blogwind.com/Wuvist/16993.shtml
By the way, I use Mac, and the cute editor used in blog Park has become a text area in safari. However, the latest version of cute
There are many popular frameworks for online Web application development at the moment. There are also many different types of frameworks, such as those with a large number of plug-ins that can make you faster iterations (such as Rails), or other very simple and low-level (like flask).Two relatively more popular frameworks in Web application development are Ruby on Rail
Ruby on Rails (also called Rails) is a Ruby Framework for Internet applications that support databases, what are the core features of Ruby on Rails and the articles into the world of Ruby
you are a domestic server, it is recommended to replace the RVM installation source with the Taobao mirror server, so that the installation can be faster!
' s/ftp/.ruby-lang/.org//pub//ruby/ruby/.taobao/.org//mirrors//ruby/g ' ~/.rvm/config/db
Install Ruby with
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.
installed, the execution ruby-v display is 2.0.0, after the implementation of RBENV global 2.1.4 or unchanged. At this time execute $ Echo ' eval ' $ (rbenv init-) "' >> ~/.bash_profile (write the Rbenv initialization script to the file) (if the permissions are insufficient, modify the file owner for the user) $ source ~/.bash_ Profile (execute the file) and then execute Ruby-v
-)" '> ~ /. Bash_profile (write the rbenv initialization script to the file) (if the permission is insufficient, modify the file owner as the user) $ source ~ /. Bash_profile (execute this file) and then execute ruby-v rails-v. 10. develop Ruby on Railshttp: // openbook4.me/projects/9211. create a project and upload it to git
your computer. Run Rails-v prompt is not installed, run ruby-v display is 2.0.0, run rbenv global 2.1.4 or unchanged. Run Echo ' eval ' $ (rbenv init-) ' >> ~/.bash_profile (writes the rbenv initialization script to the file) (assuming insufficient permissions.) Change the file owner to user) $ source ~/.bash_profile (run the file) and then run Ruby-v and
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 mongre
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, bu
Install ruby on rails development environment in win7, win7rails
PrefaceMany articles have said that the ruby environment is very difficult to build on windows, and various strange problems may occur. Therefore, we recommend installation and development on linux and mac. However, I followed the tutorial, and there were
Because the task is heavy, time is tight, there is not much time to study, roughly find some online learning materials, here to do a collation, I hope that the same friends who are ready to learn to helpOnline documentation Classes:Ruby on Rails combat Bible using Rails 4.2 and Ruby 2.3 (Simplified Chinese version)Rails
Ruby Resources
Home to http://rubygems.org gem Resources
Http://rubyforge.org/
Http://www.ruby-lang.org/en/rubyofficial website
Http://www.ruby-doc.org/Ruby Doc and API
Ftp://ftp.ruby-lang.org/pub/ruby/ruby version FTP
Http://www.kuqin.com/rubycndocument/index.htmlrubychinese version reference manual, FAQ i
It took nearly two years. After multiple test versions, Ruby On Rails 3.0 was officially released. Over 1600 developers participated in the development. With the joint efforts of everyone, Ruby On Rails 3.0 was "faster, stronger, and more beautiful". I believe the new version will not disappoint you.
The
Because the system was reinstalled, we tried to use rvm to install and manage Ruby and rails and record the installation process.
Install curl first
Shell code
$ Sudo apt-Get install curl
Because the rvm Installation File is obtained from GitHub through git, a local git is also required. I installed it through build, you can also install the SDK directly fr
Build a ruby on rails development environment under CentOS7, centos7rails
1. Install rvm
Curl-L https://get.rvm.io | bash-s stable
Rvm is a command line tool that provides management and switching of Multi-version ruby environments. You can also manage different gemsets based on projects.
If the ssh key is not generated, this step may fail. directly generate
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.