Twitter integration should be simple things, recommended the use of twitter gem, so easy. Oauth to support and httpauth. oauth process must be binding. http://twitter.rubyforge.org/
ruby (RSS)
1.9.1 Testing a bit of hash in the performance of a ruby at the same time understanding the Chinese program is very powerful!
It can not read the future, may be used, up first collection http://www.javaeye.com/wiki/rubyconf/1709-first-rubyconf-china-information
1. To add a default value Hash: h = (1,2,3,4) # => (1 => 2, 3 => 4) h.default = 7 h [1] # => 2 h [3] # => 4 h [4] # => 7 h [5] # => 7 二. Hash to add key-value pair: h = () # => ...
I encountered the problem as follows: Executive: . / cruise build test_cc_01 Time, there will be the following error? SVN is literally no permissions to connect, but I tried a lot of SVN, but I have p ...
Ruby has just attended this technology. Matz looks young, a bit shy, but also there is no lack of sense of humor. But how to communicate with you the distance and obstacles exist! In addition he was v ...
memcached is very powerful, it is also very simple to install: http://www.danga.com/memcached/download.bml Download source, compile and install. Libevent library should pay attention to the existence ...
Surveys such as the title. 报个名it!
In the windows on render: file use absolute addresses, there will be invalid argument error, view the source code, an error is found on the rails of the separator system to determine a problem, it is ...
1. Need ActiveTcl http://downloads.activestate.com/ActiveTcl/Windows Need tcl8.4.dll Link below the error Can't find a usable init.tcl http://www.archivum.info/comp.lang.tcl/2006-03/msg00338.html ...
Prototype by Sam Stephenson developed a Javascript library as well as the originator of other frameworks. Part of its existing Javascript objects such as Object, Function, Dom, String, such as expansi ...
Posted 3 days back at RailsTips.org - Home In which I show the difference between include and extend when working with modules in Ruby. Now that we know the difference between an instance method and a ...
Download http://www.ruby-lang.org/zh_CN/downloads/ New helloWorld.rb Inside to write his print ( "helloWorld") Enter the command-line ruby HelloWorld.rb Then output HelloWorld
Previous tests, records about Connection string is from the previous DELPHI copy the code from the
http://prototype.conio.net/ I like Javascript, keen on Ajax applications. I read the prototype source code of their own experience to write it down, I hope all of you to help understand Javascript. I ...
web server: install ubuntu 64bit server edition then: ################################ 1.install necessary software: ################################ sudo apt-get install gcc g + + make sudo apt-get i ...
Apache + mongrel to deploy on the articles, the Internet has been a lot. Here, let me talk about the main areas of error-prone. 1 Download One-Click Ruby Install, installed after the ruby-v and the us ...
Would like to see the performance of the actual rails Rails to write with a simple query the user's action, controller in the show are as follows: Deployment using ruby 1.8.7 rails 2.3.2, lighttpd ...
=> Booting WEBrick ... JRuby limited openssl loaded. Gem install jruby-openssl for full support. http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL D: / ruby / netbeans-ruby / NetBeans 6.5.1/ruby2/jr ...
1 require 'open-uri' 2 require 'net / http' 3 require 'iconv' 4 require 'uri' 5 6 src1_file = "place_file.txt" 7 src2_file = "things_file.txt" 8 sav ...
pricot is fast and easy-to-use Ruby HTML parser, the source of JQuery. It is characterized by 1. Fast, because the core 2 with C rewritten. Easy to use interface, you can use CSS selectors, element ID ...
js achieve the ruby in the array of include?
Read an article before "to create win under mac os development environment", really good, However, some things get too complicated, I will be here simplified to streamline the 1. To install ...
1. Two spaces indentation 2. Comments New: # The comment Old: # The comment 3. Whitespace should be used to split up the code, not random 4. Lining up and spacing 4.a spaces between variables and equa ...
pricot is fast and easy-to-use Ruby HTML parser, the source of JQuery. It is characterized by 1. Fast, because the core 2 with C rewritten. Easy to use interface, you can use CSS selectors, element ID ...
Jruby on rails development to the application deployed to tomcat Environment windows XP jdk 6u12 jruby 1.2.0 rails 2.2.2 netbeans 6.5.1 tomcat 5.5 mysql 5 Upgrade to jruby 1.2.0 jruby not used netbean ...
Jruby on rails development to the application deployed to tomcat Environment windows XP jdk 6u12 jruby 1.2.0 rails 2.2.2 netbeans 6.5.1 tomcat 5.5 mysql 5 Upgrade to jruby 1.2.0 jruby not used netbean ...
ruby script \ plugin install-r 3072 http://svn.techno-weenie.net/projects/plugins/restful_authentication/
What will the world look unified coding problem, not a switch. A waste of time, the old code to think things went. str = "the captain in April Capitães de Abril" str = Iconv.iconv ( "gb ...
Ruby common errors and solutions (update ...) Above code, the implementation of the following two errors. Error 1: class / module name must be CONSTANT Solution: Module names should be capitalized the ...
Ajax by the HTML, JavaScript ™ technology, DHTML and DOM composition, this method can be distinguished clumsy Web interface will be transformed into interactive Ajax applications. The author of this p ...
Translator: Ragnarok @ Ruby Chinese community translation team Reprint requests to retain the copyright information, rights reserved! writing / index.html Use Spec:: Ralis the preparation of sample in ...
1. Layout For each controller can customize their own layout. At the same time, layout is nested relations: controller nested layout in the application layout. 2. Cache_classes Why development environ ...
Ruby wrote a sns of the spider to expand connections to the school as an example: Sleep, and tomorrow morning to see what gains ~
the number of ruby and char conversion In fact, there is no ruby type of char, if obtained directly 65.to_s only 65, want to be A, then so 65.chr Write this in the encryption and decryption algorithm ...
The success of the first test RoR Steps: First install ruby Address: http://rubyinstaller.rubyforge.org The second installation of rails gem ruby software management package gem install rails - includ ...
In this paper, the contents of Variable Variable scope Pseudo-variable Constant First, variables 1. Without specifying the type of variable definition
In this paper, the contents of Single notes Multi-line Notes Special treatment Documentation Notes A single note # At the beginning, with # at the beginning until the end of the contents of the Bank a ...
Ruby, including the number of standard types (Numeric), string (String), range (Range), as well as regular expressions (Regexp). Digital String Interval Regular Expressions Digital Ruby's figures ...
1. Class, Module, Object, Kernel relationship Ruby we can see, we can directly write puts, print and so on, feeling like a command verb, like this and we say that all of the Ruby object in a bit of co ...
First, the definition of methods Process approach Although it is a pure Ruby object-oriented language, but it allows us to process-oriented approach to use, we defined a way, we can directly use, faci ...
We know that in the bottom of the computer is completely based on the data, we have prepared procedures for operation data. Expression is understood to be the number of computers, operator of the join ...
Recommend a first-line Ruby regular expression editor http://www.rubular.com/ Ruby's regular expressions of "/ /" as the constructor. Expression of the target returns a RegExp. General r ...
The content of this article: Greedy and non-greedy quantifier quantifier Anchor That forward-looking Modifiers With the string is converted Regular expressions commonly used local First, the greedy an ...
A comparison statement Most other languages, here the attention of <=> Comparison is mainly used to determine the return to true, & & and, | | or Second, the conditions of modification o ...
First, the definition of categories, examples of methods of class Second, specific object In Ruby, we can separate the definition of an object method Third, re-defined methods As can be seen from the ...
First, the default is the current object or self In order to know which is the current object, we must know the context of the current 1, top-level object self 2, classes and modules in the self 3, ex ...
First, the definition of symbols Ruby Built-category symbol is an example of Symbol, which is the leading symbol of the colon. : a : person : "Hello World" Second, the string could be conver ...
Ruby First China May 21 the General Assembly held in Shanghai from JavaEye and co-sponsored ShanghaionRails, this is a completely free, high-level Ruby General Assembly's first visit to China, Rub ...
public methods, it can be the definition of the category and its sub-class visit can be categories and sub-class object to call the instance; protected method, it can be the definition of the category ...







