You need to install a bunch of gems locally since the Remote Installation didn't work or at least not stably.
By assumption that instantrails2.0 is ready on your xp platform, then you cocould go on the following steps:
1 download netbeans6
Development Environment
RUBY: ruby1.9.1
Rails: rails2.3.5
MySQL: mysql5.0.9
Driver: mysql-2.8.1-x86-mingw32.gem
IDE: rubymine2.0.1
1. Create a data table users
Use the scaffold tool that comes with rubymine to create a data table users. You can
Ruport Official Website: http://www.rubyreports.org/
This example introduces the simple development of Ruby reports.
Development Environment
OS: Windows XP
RUBY: ruby1.8.7
Rails: rails2.3.5
MySQL: mysql5.0.9
IDE: rubymine2.0.1
1. Install
Development Environment:
OS: Windows XP
RUBY: ruby1.8.7
Rails: rails2.3.5
MySQL: mysql5.0.9
IDE: rubymine2.0.1
1. Create productaggragator to implement data extraction logic. In this example, some parameters of product. report_table are
In ruport, The pdf_writer does not support Chinese characters, and the output Chinese characters are garbled. I checked a lot of information online and did not find a good solution. I had to check the source code. Why does the PDF tool provided by
This example is based on Ruby ruport practice-simple report system and Ruby ruport practice-Chinese PDF report prawn, and adds the design and implementation of report parameters.
1. Create a data table report_parameters
Create Table
This example is based on the ruby ruport practice-Report parameter implementation to implement addition, deletion, and modification of table parameters when the report is executed and defined.
1. Modify views/report_executions/edit.html.
Development Environment:
RUBY: ruby1.9.1
Rails: rails2.3.5
IDE: rubymine2.0.1
Flex builder: Flex builder4
Development ideas:
1) create a flex project in flex Builder
2) create a rails project in rubymine
3) Copy swfobject. js compiled under the
Last year, the two most popular technologies were integrated: Ajax and Ruby on Rails. They became the focus of discussion at the serverside Java seminar in Las Vegas last weekend. In fact, you can say Ruby and Ajax have been officially
Ruby is an open-source and is freely available on the web, but it is subject to a license .. (Open Source protocol ...)
Ruby is a general-purpose, interpreted programming language. (multi-purpose, interpreted)
Ruby is a true object-oriented
Development test cases)1. Open the editor2. Use. RB as your file extension3. Write "require 'watir'" in the first sentence of the test file to ensure that the watir tool is accessible.4. Open the browser and go to the application to be
Ruby standard type
I. Numbers
Ruby supports integers and floating-point numbers. integers can be of any length.
Integers within a certain range are stored in binary. They belong to the fixnum type. If they exceed this range, they are
No browser is displayed$ Hide_ie = true
How to obtain the path of the current fileFile. dirname (_ file _). to_s
Read files:Method 1:$ Result = 'd: // rs.txt'File. Open ($ result, "R") Do | file |File. each_line do | Line |If line. length>
Transferred from: http://blog.sina.com.cn/s/blog_4901d7bd0100b6lf.htmlrubyoperator reload
Reprinted tokenRuby's Operator Overloading is very interesting. Ruby allows "+" and other operators to be used as function names. Therefore, it is similar to
Many Ruby syntaxes and special dynamic features remind me of oracle.
Ruby can execute dynamic code through eval ("2 + 2") = 4
Eval brother banding:
def eval_first puts eval("2+2") end def binding_elsewhere x=20 return binding end def
In Ruby, thread objects are also used to represent threads.
Threads = [] 10. times do thread = thread. new do 10. times {| I | print I; $ stdout. flush; sleep rand (5)} End threads
The join here is different from the join in the array. The join
Finally, the full-text search of ferret was completed. It was not easy to get three full-text searches.
The last two times on my mac, ferret has been confused. The main problem is that it cannot be used for Chinese word segmentation, and it is
Ruby On Rails has been a hot topic recently On the Internet. Many people have given him the praise of the "alternative to Java Enterprise Application Development. Even a foreigner said on the Internet that a project with Java4 months was completed
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service