Ruby (RSS)

twitter with ruby

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/

Chinese ruby

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!

ruby the General Assembly information

It can not read the future, may be used, up first collection http://www.javaeye.com/wiki/rubyconf/1709-first-rubyconf-china-information

E-mail on the Rails

Gmail Smtp used to send email (rails2.0) Using ActionMailer to send mail (smtp way) E-mail problem ActionMailer increase the use of the local postfix mail server to send mail Ruby on Rails to send e-m ...

Ruby [Hash method summary]

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 = () # => ...

Larger domestic traffic Ruby on Rails Web site Top 10

I know it is the larger domestic traffic Ruby on Rails Web site. Abroad than Twitter, too many of their small volume, it is nothing. But all things have a development process, please let us pay tribut ...

Rails fragment caching traps smart solutions

Rails fragment caching have a very fragment cache hidden traps. Rubyconf China 2009 in the meeting, Robin Lu cattle were to elaborate on the trap (he lectures in the ppt http://www.scribd.com/doc/1570 ...

I need more money recently, hoping to find something from this work in different places ror project

I am now 3, Temporarily unable to work out Do next semester Because life need to find more reasons to get the work online Earn some extra money The main research ruby on rails c # will was also in tou ...

Introduced the Ruby On Rails

=== To http://kiwi.csie.chu.edu.tw/blog/archives/133 This article from the PHP and Web programmers point of view, and gradually bring out the Ruby on Rails and Web Application Framework of the advanta ...

CruiseControl.rb another Bug

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 General Assembly and its people MATZ!

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 ...

Will progress to share - RubyConf China felt the General Assembly return

Venue RubyConf China has just returned from the heart of the excitement has not yet healed. Office of the General Assembly has been very successful. Hall, sitting almost the entire non-empty seats, an ...

REST compared before and after the REST of the URI mapping

September 23, 2008, JSR3111.0 draft Through the JCP Executive Committee to vote in favor of This basically means that it has now been finalized. JSR 311 final draft: RESTful Web Services Java API Wrot ...

memcached with ruby

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 ...

Thursday May 21 China's first see Ruby Conference JavaEye live chat

Thursday May 21 the First China Ruby Conference 8:30 tomorrow onwards, the General Assembly, the founder of Ruby language Matz will make a speech, other guests are also very strong line-up. Is somethi ...

fckeditor on rails with 2.2

0.5.1 the latest version of fckeditor http://rubyforge.org/frs/?group_id=2038&release_id=23116 The following plugins are copied to the implementation of rake fckeditor: install After the success o ...

Beijing has a number of ruby programmers?

Surveys such as the title. 报个名it!

rails2.3.2 in the windows under the render: file a bug

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 ...

ruby graphical Can't find a usable init.tcl

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 ...

This is the Bug Bar CruiseControl.rb

Home is not Linux, wanted to run under very CC.rb, Recently, under a project requires an understanding of continuous integration, so at home to download the latest CC.rb loaded up, and cruise add two ...

sqlserver connection method ruby

ruby Rails provides a good support for My SQL, do not need to do any configuration, you can connect. However, for SQLServer more cumbersome connections. The following will introduce a provision of the ...

Lighttpd + FastCGI + Ubuntu + Rails2.3 set record

BLOGSPOT at GOOGLE had to engage in a BLOG, toss a good few, BLOGSPOT be the result of the shield is !@#$%^%&^&^&& A lot of prior research related materials, a lot of summing up this s ...

Include vs Extend in Ruby

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 ...

ruby_helloWorld

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

ACCESS read Ruby data with ADO

Previous tests, records about Connection string is from the previous DELPHI copy the code from the

China not to be missed, the first Ruby Technology Conference - May 21 Shanghai meet with you!

China not to be missed, the first Ruby Technology Conference - May 21 Shanghai meet with you! May 21, 2009 Thursday, JavaEye sites and Shanghaionrails first session held in Shanghai China Technology C ...

rails web server deploy guide

web server: install ubuntu 64bit server edition then: ################################ 1.install necessary software: ################################ sudo apt-get install gcc g + + make sudo apt-get i ...

Of the Matz's Ruby!

Ruby's primary focus is productivity of program development, and users will find that programming in Ruby is productive and even fun. Ruby is well suited for the problem domains such as these: Tex ...

In the old version of Ruby upgrade

Ruby memory leak due to very serious, I also find a lot of online information, in order to make use of existing results (what to patch: ruby memory leak solve the super-large patch release you), I hav ...

Smalltalk Python Perl and Ruby

http://en.wikipedia.org/wiki/Yukihiro_Matsumoto Smalltalk Like Smalltalk Ruby is a dynamic and pure object-oriented language. Both languages are dynamic because they do not use static type information ...

Apache +2 Mongrel deployment of Rails

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 ...

Advisory rails of the issue of performance

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 ...

netbeans jruby webrick error

=> 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 ...

Gosu game development tool for Ruby

Railsconf in 2009 the General Assembly on, Hongli Lai and Ninh Bui of Phusion (Development Passenger guy) In order to demonstrate the power of Ruby language, will be able to run 3D games, they built a ...

REST Notes

Book gives an example: Quote http://www.flickr.com/services/rest?api_key=xxx&method=flickr.photos.search&tags=penguin Although the URI contains "rest" the words, but it is clear that ...

ruby visit website (to deal with the Chinese url)

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 ...

China not to be missed, the first Ruby Technology Conference - May 21 meet with you in Shanghai!

China not to be missed, the first Ruby Technology Conference - May 21 meet with you in Shanghai! May 21, 2009 Thursday, JavaEye sites and Shanghaionrails first session held in Shanghai China Technolog ...

Multiple rails application deployment

Finally deployed rails application. In the central server upload a virtual machine, everything has to start loading, there a lot of problems. All the solutions. The process of reference: http://dingr. ...

hpricot: rails Analytical html plug-ins

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 ...

rails find function

The situation: would like to Model parameters into the form of the find function, If args = (: limit => 10), the implementation of Model.find (: all, args,: join =>"..."), the introduc ...

Win build similar rails development environment for MacOS

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 ...

Ruby Formatting

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 ...

Rspec on rails

1.Need to install gem: rspec, rspec-rails, plugin: machinist (to create fake records for test) rspec-on-rails-matchers (provide method: belong_to has_many for model test) 2.Need to install gem: faker, ...

Git ignore files in the rails projects

Go to you rails app folder and create a file named. Gitignore vim. gitignore update the file: nbproject log / *. log tmp /**/* config / database.yml db / schema.rb db / *. sqlite3 public / javascripts ...

ruby rake file

task: import_projects =>: environment do o_projects = T4uproject.find (: all) for o_project in o_projects unless TimeTree.find_by_original_id (o_project.id) new_object = o_project.attributes new_ob ...

hpricot: rails plugin Analytical html

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 ...

Netbeans + JRuby Development Notes (4) - will be deployed jruby on rails open to tomcat

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 ...

Netbeans + JRuby Development Notes (4)

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 ...

rails authentication framework

ruby script \ plugin install-r 3072 http://svn.techno-weenie.net/projects/plugins/restful_authentication/

ruby transcoding problem

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 ...