锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲国产精品综合久久久,亚洲日韩一中文字暮,亚洲中文字幕无码中文http://m.tkk7.com/leekiang/category/44217.htmlMDA/MDD/TDD/DDD/DDDDDDDzh-cnMon, 19 Dec 2011 02:40:47 GMTMon, 19 Dec 2011 02:40:47 GMT60鍦–entOS5.7涓婃惌寤簉ails鐜http://m.tkk7.com/leekiang/archive/2011/12/10/366029.htmlleekiangleekiangSat, 10 Dec 2011 04:26:00 GMThttp://m.tkk7.com/leekiang/archive/2011/12/10/366029.htmlhttp://m.tkk7.com/leekiang/comments/366029.htmlhttp://m.tkk7.com/leekiang/archive/2011/12/10/366029.html#Feedback0http://m.tkk7.com/leekiang/comments/commentRss/366029.htmlhttp://m.tkk7.com/leekiang/services/trackbacks/366029.htmlyum install gcc

2,瀹夎MySQL,騫惰緗負寮鏈鴻嚜鍔ㄥ惎鍔ㄣ?br /># yum install mysql mysql-devel mysql-server
# chkconfig --levels 235 mysqld on
# /etc/init.d/mysqld start

3,瀹夎ruby
# wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p352.tar.gz
# tar zxf ruby-1.8.7-p352.tar.gz
# cd ruby-1.8.7-p352
# ./configure聽
# make聽
# make聽install

# ruby -v
鐩墠ruby1.8.7鏈鏂扮殑鏄痯352錛岃ftp://ftp.ruby-lang.org/pub/ruby/1.8/
榛樿浼氬畨瑁呭埌/usr/local/lib/ruby/

4,瀹夎rubygems
鍦ㄥ畨瑁?span lang="EN-US">rails 涔嬪墠錛岃鍏堝畨瑁?span lang="EN-US">rubygems
榪欎釜姣旇緝鎸戝墧錛屽湪redmine瀹夎鎸囧錛坔ttp://www.redmine.org/projects/redmine/wiki/RedmineInstall錛変腑鎻愬埌鏈夎姹傦紝瑕佸湪1.3.7 ~ 1.7.0涔嬮棿錛岃繖閲岄夋嫨浜?.6.2鐗堛傚悓鏍鋒槸涓嬭澆婧愮爜瀹夎銆?br /># cd ~/rails_install
# wget http://rubyforge.org/frs/download.php/74445/rubygems-1.6.2.tgz
# tar zxvf rubygems-1.6.2.tgz
# cd rubygems-1.6.2
# ruby setup.rb
瀹夎鎴愬姛鍚庯紝鎵цgem 鈥搗 錛屽彲鐪嬪埌鐗堟湰淇℃伅銆?br />
5,瀹夎Rails鍙婄浉鍏砱ems

wget聽http://rubygems.org/downloads/rake-0.8.7.gem
wget聽http
://rubygems.org/downloads/rack-1.1.0.gem
wget聽http
://rubygems.org/downloads/rails-2.3.14.gem
wget聽http
://rubygems.org/downloads/activesupport-2.3.14.gem
wget聽http
://rubygems.org/downloads/activerecord-2.3.14.gem
wget聽http
://rubygems.org/downloads/actionpack-2.3.14.gem
wget聽http
://rubygems.org/downloads/actionmailer-2.3.14.gem
wget聽http
://rubygems.org/downloads/activeresource-2.3.14.gem

wget聽http
://rubygems.org/downloads/i18n-0.4.2.gem
wget聽http
://rubygems.org/downloads/mysql-2.8.1.gem
wget聽http
://rubygems.org/downloads/cgi_multipart_eof_fix-2.5.0.gem
wget聽http
://rubygems.org/downloads/coderay-1.0.0.gem

gem聽聽install聽
--local聽rake-0.8.7.gem
gem聽聽install聽
--local聽rack-1.1.0.gem聽
gem聽聽install聽
--local聽rails-2.3.14.gem
gem聽聽install聽
--local聽mysql-2.8.1.gem
gem聽聽install聽
--local聽i18n-0.4.2.gem
gem聽聽install聽
--local聽cgi_multipart_eof_fix-2.5.0.gem
gem聽聽install聽
--local聽coderay-1.0.0.gem

6,瀹夎Redmine1.2.3
浣跨敤svn涓嬭澆Redmine 1.2婧愮爜鍒?www鐩綍涓?br />svn co svn://rubyforge.org/var/svn/redmine/branches/1.2-stable redmine-1.2

鍒涘緩Redmine鏁版嵁搴撳拰redmine鐢ㄦ埛
CREATEDATABASE聽redmine聽CHARACTERSET聽utf8聽COLLATE聽utf8_general_ci;
CREATEUSER'redmine'@'localhost'聽IDENTIFIED聽BY'redmine';
GRANTALLON聽redmine.*TO'redmine'@'localhost';

鍒癲atabase.yml鏂囦歡錛屼慨鏀筽roduction鑺傜偣鐨勫笎鍙峰拰瀵嗙爜涓簉edmine錛屾敞鎰忓啋鍙峰悗瑕佹湁絀烘牸銆?br />
鍒?www/redmine1.2鐩綍涓?br />
rake聽config/initializers/session_store.rb
RAILS_ENV
=production聽rake聽db:migrate
RAILS_ENV
=production聽rake聽redmine:load_default_data
ruby聽script
/server聽webrick聽-p聽8000-e聽production


濡傛灉鎶ラ敊錛歳ake aborted! no such file to load -- openssl
鍏坹um install聽 openssl-devel
鐒跺悗鍒頒笅杞界殑ruby婧愮爜鐨別xt/openssl鐩綍
ruby聽extconf.rb聽聽(鐢熸垚Makefile)
make
make聽install



鍒犻櫎宸插畨瑁呯殑ruby
How to uninstall Ruby from /usr/local?
How to Remove an Old version of Ruby



鍙傝冿細
CentOS 6.0 瀹夎閰嶇疆rails 2.3.11 + redmine 1.2.1 絎旇
Redmine鍦↙inux錛圕entOS錛変笅鐨勫畨瑁呭強閰嶇疆




"./configure && make && make install"鏄吀鍨嬬殑浣跨敤GNU鐨凙UTOCONF鍜孉UTOMAKE浜х敓鐨勭▼搴忕殑瀹夎姝ラ銆?br />./configure鏄敤鏉ユ嫻嬩綘鐨勫畨瑁呭鉤鍙扮殑鐩爣鐗瑰緛鐨勩傛瘮濡傚畠浼氭嫻嬩綘鏄笉鏄湁CC鎴朑CC錛屽茍涓嶆槸闇瑕丆C(cc鏄痝cc鐨勮繛鎺ワ紝gcc鏄紪璇戝櫒)鎴朑CC錛屽畠鏄釜shell鑴氭湰
make鏄敤鏉ョ紪璇戠殑錛屽畠浠嶮akefile涓鍙栨寚浠わ紝鐒跺悗緙栬瘧銆?br />make聽install鏄敤鏉ュ畨瑁呯殑錛屽畠涔熶粠Makefile涓鍙栨寚浠わ紝瀹夎鍒版寚瀹氱殑浣嶇疆銆?br />AUTOMAKE鍜孉UTOCONF鏄潪甯告湁鐢ㄧ殑鐢ㄦ潵鍙戝竷C紼嬪簭鐨勪笢瑗?/font>


leekiang 2011-12-10 12:26 鍙戣〃璇勮
]]>
rails澶勭悊閬楃暀鏁版嵁搴擄紝鍒嗚〃絳?/title><link>http://m.tkk7.com/leekiang/archive/2011/07/10/354013.html</link><dc:creator>leekiang</dc:creator><author>leekiang</author><pubDate>Sat, 09 Jul 2011 16:40:00 GMT</pubDate><guid>http://m.tkk7.com/leekiang/archive/2011/07/10/354013.html</guid><wfw:comment>http://m.tkk7.com/leekiang/comments/354013.html</wfw:comment><comments>http://m.tkk7.com/leekiang/archive/2011/07/10/354013.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/leekiang/comments/commentRss/354013.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/leekiang/services/trackbacks/354013.html</trackback:ping><description><![CDATA[鍒嗗簱鍙互鍦╩odel涓姞鍏?br />聽 establish_connection :your_connection<br />聽 self.abstract_class = true<br />瀹炵幇.<br />鍒嗚〃搴旇涔熷彲浠ョ敤綾諱技鐨勬柟娉?<br />set_table_name<br /><br /><a target="_blank" >Rails閬楃暀鏁版嵁搴撹闂箣浜屽垎搴撳垎琛?/a><br /><a target="_blank" >Rails閬楃暀鏁版嵁搴撹闂箣涓鍔ㄦ丱RM</a><br /><a target="_blank" >Rails涓疄鐜板垎琛紙1錛夊瀭鐩村垎琛?/a><br /><a target="_blank" >欏圭洰涓亣鍒扮殑闂錛堜簩錛夛紙鍔ㄦ佸垱寤篗ODEL錛?/a><br /><a >Rails鏄惁鍙互榪欐牱瑙e喅榪欎釜杈f墜鐨勯棶棰?</a><br /><a >Rails涓浣曟敮鎸佹暟鎹簱鍒嗚〃鍟?/a><br /><br />http://stackoverflow.com/questions/44145/database-sharding-and-rails<br />http://stackoverflow.com/questions/5981724/multiple-database-tables-within-one-ar-model-in-rails-3<br />https://github.com/aglasgall/rails-sharding<br />http://www.engineyard.com/blog/2009/a-quick-primer-on-sharding-for-ruby-on-rails/<br />http://blog.sphereinc.com/2010/04/its-boring-to-scale-with-ruby-on-rails/<br />http://kovyrin.net/2010/04/16/dbcharmer-rails-can-scale/<br />https://www.ruby-toolbox.com/categories/Active_Record_Sharding<br />https://www.ruby-toolbox.com/projects/octopus<br />https://www.ruby-toolbox.com/projects/data_fabric<br /><br />how RoR scales <br />I've said it before, but it bears repeating:聽<em>There's nothing interesting about how Ruby on Rails scales</em>. We've gone the easy route and merely followed what makes Yahoo!, LiveJournal, and other high-profile LAMP stacks scale high and mighty.<p><span style="font-family: Georgia; font-size: 16px;"><p style="margin-top: 0px; margin-bottom: 20px; font-size: 14px; line-height: 18px; text-align: justify;">Take state out of the application servers and push it to database/memcached/shared network drive (that's the whole Shared Nothing thang). Use load balancers between your tiers, so you have load balancers -> web servers -> load balancers -> app servers -> load balancers -> database/memcached/shared network drive servers. (Past the entry point, load balancers can just be software, like haproxy).</p><p style="margin-top: 0px; margin-bottom: 20px; font-size: 14px; line-height: 18px; text-align: justify;">In a setup like that, you can add almost any number of web and app servers without changing a thing.</p><p style="margin-top: 0px; margin-bottom: 20px; font-size: 14px; line-height: 18px; text-align: justify;">Scaling the database is the "hard part", but still a solved problem. Once you get beyond what can be easily managed by a decent master-slave setup (and that'll probably take millions and millions of pageviews per day), you start doing partitioning.</p><p style="margin-top: 0px; margin-bottom: 20px; font-size: 14px; line-height: 18px; text-align: justify;">Users 1-100K on cluster A, 100K-200K on cluster B, and so on. But again, this is nothing new. LiveJournal scales like that. I hear eBay too. And probably everyone else that has to deal with huge numbers.</p><p style="margin-top: 0px; margin-bottom: 20px; font-size: 14px; line-height: 18px; text-align: justify;">So the scaling part is solved. What's left is judging whether the economics of it are sensible to you. And that's really a performance issue, not a scalability one.</p><p style="margin-top: 0px; margin-bottom: 20px; font-size: 14px; line-height: 18px; text-align: justify;">If your app server costs $500 per month (like our dual xeons does) and can drive 30 requests/second on Rails and 60 requests/second on Java/PHP/.NET/<em>whatever</em>聽(these are totally arbitrary numbers pulled out of my...), then you're faced with the cost of $500 for 2.6 million requests/day on the Rails setup and $250 for the same on the other one.</p><p style="margin-top: 0px; margin-bottom: 20px; font-size: 14px; line-height: 18px; text-align: justify;">Now. How much is productivity worth to you? Let's just take a $60K/year programmer. That's $5K/month. If you need to handle 5 million requests/day, your programmer needs to be 10% more productive on Rails to make it even. If he's 15% more productive, you're up $250. And this is not even considering the joy and happiness programmers derive from working with more productive tools (nor that people have claimed to be many times more productive).</p><p style="margin-top: 0px; margin-bottom: 20px; font-size: 14px; line-height: 18px; text-align: justify;">Of course, the silly math above hinges on the assumption that the聽<em>whatever</em>stack is twice as fast as Rails. That's a very big if. And totally dependent on the application, the people, and so on. Some have found聽<a style="color: rgb(101, 101, 80);" >Rails to be as fast or faster</a>聽than comparable "best-of-breed J2EE stacks".</p><p style="margin-top: 0px; margin-bottom: 20px; font-size: 14px; line-height: 18px; text-align: justify;">The point is that the cost per request is plummeting, but the cost of programming is not. Thus, we have to find ways to trade efficiency in the runtime for efficiency in the "thought time" in order to make the development of applications cheaper. I believed we've long since entered an age where simplicity of development and maintenance is where the real value lies.</p><p style="margin-top: 0px; margin-bottom: 20px; font-size: 14px; line-height: 18px; text-align: justify;">鍏跺疄姝ezhangc涔嬪墠璇達紝鐞嗚鐨勯棶棰橀兘娓呮錛屽叧閿繕鏄疄璺碉紒</p></span></p><br /><img src ="http://m.tkk7.com/leekiang/aggbug/354013.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/leekiang/" target="_blank">leekiang</a> 2011-07-10 00:40 <a href="http://m.tkk7.com/leekiang/archive/2011/07/10/354013.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>ubuntu10.10涓媟ails2.3.X鍜宺edmine1.0.X瀹夎璁板綍http://m.tkk7.com/leekiang/archive/2011/01/06/342392.htmlleekiangleekiangWed, 05 Jan 2011 17:40:00 GMThttp://m.tkk7.com/leekiang/archive/2011/01/06/342392.htmlhttp://m.tkk7.com/leekiang/comments/342392.htmlhttp://m.tkk7.com/leekiang/archive/2011/01/06/342392.html#Feedback0http://m.tkk7.com/leekiang/comments/commentRss/342392.htmlhttp://m.tkk7.com/leekiang/services/trackbacks/342392.html聽聽聽聽 瀹夎鍚庢墽琛宺uby -v錛屾樉紺衡渞uby 1.8.7 (2010-06-23 patchlevel 299) [i686-linux]鈥?br />聽聽聽聽 鏌ヤ簡涓涓嬶紙鐢ㄧ殑鍛戒護鏄痩ocate ruby錛夛紝瀹夎鍒頒簡/usr/lib/ruby/1.8鐩綍錛屼絾鍝簺浣嶇疆榪樻湁ruby鐨勬枃浠舵湭鐭ャ?br />聽聽聽聽 娉ㄦ剰錛氫笉闇瑕佸啀鎵嬪姩鎶妑uby璺緞鍔犲埌PATH錛屽洜涓哄凡緇忓姞濂戒簡錛岃/usr/bin
2錛宻udo apt-get install rubygems
聽聽聽聽 鎵цgem -v錛屾樉紺衡?.3.7鈥?br />聽聽聽聽 娉ㄦ剰錛氭嵁璇磖uby1.9鑷甫gem銆?br />3錛実em install rails -v=2.3.5
聽聽聽聽 鍙戠幇浼氳嚜鍔ㄥ畨瑁卹ake-0.8.7錛屽師鏉ake鏄痳ails鑷甫鐨勪笢瑗褲?br />聽聽聽聽 浼氳嚜鍔ㄥ畨瑁呭埌/var/lib/gems/1.8/gems鐩綍涓嬨?br />聽聽聽聽 浣嗗湪鍛戒護琛屼笅錛宺ails -v浠嶇劧鎶ラ敊錛?紼嬪簭 rails 灝氭湭瀹夎"銆?
聽聽 聽 鏀規(guī)錛氬湪鐢ㄦ埛鐨?.bashrc鏂囦歡涓拷鍔爀xport PATH=/var/lib/gems/1.8/bin:$PATH
聽聽聽聽 鎰熻阿榪欑瘒鏂囩珷錛屼篃鍙湅涓涓?a >榪欑瘒
聽聽聽聽 鍚庢敞錛氬簲璇ュ姞鍒板叏灞鐜鍙橀噺閲岋紝鍥犱負鏈夌殑鍛戒護錛屽rake錛岄渶瑕乺oot鐢ㄦ埛鎵ц


4錛屼笅杞絩edmine1.0.5錛岃В鍘嬶紝鐢╪etbeans6.9.1瀵煎叆欏圭洰鏃舵彁紺虹己灝慽18n錛?br />聽聽聽聽 鎸夌収鎻愮ず錛屽湪root涓嬫墽琛実em install -v=0.4.2 i18n
5錛?br />鎶奷atabase.yml.example鏀逛負database.yml
鍦ㄦ瘡縐嶇幆澧冧笅閮藉姞灞炴ocket: /var/run/mysqld/mysqld.sock錛屼負浠涔?br />
6錛岃В鍐砿ysql涔辯爜闂
sudo聽 gedit聽 /etc/mysql/my.cnf
鍦╗client]鍖哄煙鍜孾mysqld]鍖哄煙閮芥坊鍔犱竴琛岋細
default-character-set = utf8
鐒跺悗閲嶅惎錛?span>sudo聽/etc/init.d/mysql聽restart
鍙氳繃show variables like 'character%'鍛戒護鏌ョ湅淇敼鍓嶅悗鐨勫彉鍖栥?br />鍙傝?br />http://jiessiedyh.javaeye.com/blog/468338
鏈変漢鎻愬埌[mysqld]鐨剆kip-character-set-client-handshake灞炴?br />
7錛宮ysql椹卞姩
鎵цgem install mysql錛屾姤
Building native extensions.聽 This could take a while...
ERROR:聽 Error installing mysql:
ERROR: Failed to build gem native extension.
瑙e喅錛氬洜涓烘壘涓嶅埌mysql_config閫犳垚鐨勶紝鍙瀹夎鈥渓ibmysqlclient15-dev鈥濆氨鍙互浜唖udo apt-get install libmysqlclient15-dev

8錛?A key is required to write a cookie containing the session data. Use config.action_controller.session = {:key => "_myapp_session", :secret => "some secret phrase"} in config/environment.rb"
please do as the suggestion, add following config to enviroment.rb file:
config.action_controller.session = { :key => "_redmine_session", :secret => "aa3be4f950045ce76451b8197bf06b6d" }

鍦╰ypo涓婃墽琛屸滃埛鏂頒換鍔♀濇椂錛屾姤閿欙細Rake aborted! Uninitialized constant bundler 錛屾悳绱㈠悗鎵цgem install bundler錛屽啀鎵ц鈥滃埛鏂頒換鍔♀濓紝鎻愮ず鎵ц鈥渂undle install鈥濓紝浣嗗湪鎺у埗鍙伴噷鎶ユ病鏈夎繖涓懡浠ゃ俠undler鏄痳ails3鍑烘潵鐨勬柊涓滆タ錛?br />

鍙傝?
鍦?Ubuntu 10.10涓嬫惌寤簉or錛坮uby on rails錛夊紑鍙戠幆澧?/a>
鍦╠ebian(ubuntu)涓婂緩绔婻uby on Rails鐨勫紑鍙戠幆澧僺tep by step
Ubuntu涓嬫惌寤篟edmine
Ubuntu 10.04涓婃惌寤篟uby on Rails鐜
Ubuntu涓嬩竴姝ュ畨瑁卹uby on rails鐜鐨勮剼鏈?/a>
Ubuntu8.10涓嬩嬌鐢╩ysql鏁版嵁搴撴柟寮忓畨瑁匯edmine
Redmine鍦║buntu10.04涓婄殑瀹夎閰嶇疆
Ubuntu 10.04榛樿瀹夎Redmine娉ㄦ剰浜嬮」


leekiang 2011-01-06 01:40 鍙戣〃璇勮
]]>
rails鏁忔嵎涔︾瑪璁?/title><link>http://m.tkk7.com/leekiang/archive/2010/11/15/338098.html</link><dc:creator>leekiang</dc:creator><author>leekiang</author><pubDate>Mon, 15 Nov 2010 06:57:00 GMT</pubDate><guid>http://m.tkk7.com/leekiang/archive/2010/11/15/338098.html</guid><wfw:comment>http://m.tkk7.com/leekiang/comments/338098.html</wfw:comment><comments>http://m.tkk7.com/leekiang/archive/2010/11/15/338098.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/leekiang/comments/commentRss/338098.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/leekiang/services/trackbacks/338098.html</trackback:ping><description><![CDATA[1,ORM 灞傚皢鏁版嵁搴撹〃鏄犲皠鍒扮被銆佸皢璁板綍鏄犲皠鍒板璞°佸皢瀛楁鏄犲皠鍒板璞$殑灞炴с?br />綾繪柟娉曠敤浜庢墽琛岃〃綰у埆鐨勬搷浣滐紝瀹炰緥鏂規(guī)硶鍒欑敤浜庢墽琛岄拡瀵瑰崟鏉¤褰曠殑鎿嶄綔銆?br />2,Action Pack鍖呭惈浜嗚鍥懼拰鎺у埗鍣?br />3,rails鏈変笁縐嶆柟寮忓垱寤哄姩鎬佺殑妯℃澘錛屽叾涓鏄嬌鐢ㄢ滄瀯寤哄櫒鈥?Builder)榪欑鎶鏈紝<br />鍏朵簩鏄皢Ruby浠g爜宓屽叆妯℃澘涓紝絎笁縐嶆槸rjs鍦ㄦ湇鍔″櫒绔姩鎬佷駭鐢焜s<br />4,<% 3.times do %> <br />Ho!<br /><br /><% end %><br />Merry Christmas!<br /><% 3.times do %> 浼氳緭鍑虹┖鏍鹼紝鑰?lt;% 3.times do -%> 涓嶄細<br />5,Rails 鐨勮緟鍔╂柟娉昲()鐢ㄤ簬瀵筯tml絎﹀彿杞爜<br />6,濡傛灉璐у搧鐨勪環(huán)鏍煎彂鐢熷彉鍖栵紝閭d箞宸茬粡涓嬪ソ鐨勮鍗曚笉搴旇鍙楀埌褰卞搷錛屽洜姝ゆ瘡涓鍗曟潯鐩兘搴旇鍙嶆槧涓嬪崟鏃剁殑璐у搧浠鋒牸<br />7,erb鐨刢ontent_for(:name)鏍囩閲岀殑鍐呭鍙姞鍒版ā鏉?lt;%=yield :name%>鎵澶勪綅緗?br />8,鏁忔嵎涔︾涓夌増涓婅閲戦涓嶈鐢╢loat瀛楁錛岃岃鐢╠ecimal瀛楁<img src ="http://m.tkk7.com/leekiang/aggbug/338098.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/leekiang/" target="_blank">leekiang</a> 2010-11-15 14:57 <a href="http://m.tkk7.com/leekiang/archive/2010/11/15/338098.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍏充簬clockingithttp://m.tkk7.com/leekiang/archive/2010/10/21/335733.htmlleekiangleekiangWed, 20 Oct 2010 16:08:00 GMThttp://m.tkk7.com/leekiang/archive/2010/10/21/335733.htmlhttp://m.tkk7.com/leekiang/comments/335733.htmlhttp://m.tkk7.com/leekiang/archive/2010/10/21/335733.html#Feedback0http://m.tkk7.com/leekiang/comments/commentRss/335733.htmlhttp://m.tkk7.com/leekiang/services/trackbacks/335733.html蹇呴』璺戝湪ruby1.8.7鍜宺ails2.3.8錛屽惁鍒欏嚭鍚勭闂
瑕佹墽琛宺ake db:schema:load,鎶妔chema.rb閲岃瀹氱殑鏁版嵁琛ㄧ粨鏋勫悓姝ュ埌鏁版嵁搴?br />
http://www.soft4fun.net/website-recommand/%E7%B6%B2%E7%AB%99%E6%8E%A8%E8%96%A6-%E8%B6%85%E4%BE%BF%E5%88%A9%E7%B6%B2%E8%B7%AF%E8%A8%98%E4%BA%8B%E7%B3%BB%E7%B5%B1-clockingit%EF%BC%88%E5%A4%9A%E7%94%A8%E6%88%B6%E4%BD%BF%E7%94%A8%E7%AF%87.htm
http://www.soft4fun.net/website-recommand/%E7%B6%B2%E7%AB%99%E6%8E%A8%E8%96%A6-%E8%B6%85%E4%BE%BF%E5%88%A9%E7%B6%B2%E8%B7%AF%E8%A8%98%E4%BA%8B%E7%B3%BB%E7%B5%B1%EF%BC%8C%E5%B9%AB%E4%BD%A0%E8%A8%98%E4%B8%8B%E6%89%80%E6%9C%89%E7%94%9F.htm


leekiang 2010-10-21 00:08 鍙戣〃璇勮
]]>
redmine璁板綍http://m.tkk7.com/leekiang/archive/2010/10/15/335244.htmlleekiangleekiangFri, 15 Oct 2010 08:34:00 GMThttp://m.tkk7.com/leekiang/archive/2010/10/15/335244.htmlhttp://m.tkk7.com/leekiang/comments/335244.htmlhttp://m.tkk7.com/leekiang/archive/2010/10/15/335244.html#Feedback0http://m.tkk7.com/leekiang/comments/commentRss/335244.htmlhttp://m.tkk7.com/leekiang/services/trackbacks/335244.html
2,瀹夎mysql(鍖呮嫭mysql鐨刧em,榪樻湁閭d釜libmySQL.dll瑕佹嫹鍏ュ埌ruby/bin涓?騫跺緩绔嬪悕涓?redmine"鐨剆chema
mysql> create database redmine character set utf8;
mysql> create user 'redmine'@'localhost' identified by 'redmine';
mysql> grant all privileges on redmine.* to 'redmine'@'localhost';

3,鐢熸垚session瀵嗛挜錛屾墽琛屾暟鎹縼縐誨茍杞藉叆Redmine榛樿閰嶇疆
set RAILS_ENV=production
rake config/initializers/session_store.rb
rake db:migrate
rake redmine:load_default_data
娉?1)lib\tasks\initializers.rake閲屽畾涔変簡,rank generate_session_store絳変環(huán)浜巖ake config/initializers/session_store.rb
聽聽 2)rake聽 redmine:load_default_data RAILS_ENV="production"
聽聽聽聽 鍙鍏ヨ鑹層佹潈闄愩佽窡韙被鍨嬨侀棶棰樼姸鎬併佸伐浣滄祦紼嬨佹灇涓懼肩殑榛樿鏁版嵁錛岃loader.rb

5,欏圭洰鏈変竴涓?鏄惁鍏紑"灞炴?br />
6,宸ヤ綔鍙板彲浠ヨ嚜瀹氫箟

7,緹よ嫳姹囩炕璇戠殑鐢ㄦ埛鎵嬪唽http://www.oschina.net/bbs/thread/9314錛岀鐞嗗憳鎵嬪唽http://www.oschina.net/bbs/thread/9437
聽 http://www.ossxp.com/doc/redmine/user_guide/user_guide.html
聽 http://www.ossxp.com/doc/redmine/admin_guide/admin_guide.html
聽 緹よ嫳姹囩殑緇熶竴璁よ瘉騫沖彴http://www.ossxp.com/HelpCenter/10000_Jigsaw

聽 Techcon ezWORK鍥㈤槦浠誨姟綆$悊緋葷粺涔熸槸鍩轟簬redmine寮鍙戠殑錛宧ttp://ezwork.techcon.thtf.com.cn/

8,鎻掍歡鍒楄〃http://www.redmine.org/wiki/redmine/Plugin_List
聽 http://www.ossxp.com/doc/redmine-plugins/涓嬫湁鍑犱釜鎻掍歡鐨勪嬌鐢ㄦ墜鍐?br />聽 http://www.javaeye.com/topic/224772
聽 http://github.com/zouchaoqun/ezfaq/tree/master/app/

9,redmine鏉冮檺璁劇疆蹇冨緱
http://www.cnblogs.com/treeman/archive/2010/08/30/1812692.html

10,緇勪嬌鐢ㄧ殑琛ㄤ篃鏄痷sers琛?br />
11,ticket鍒嗙粍鎻掍歡
聽聽聽 http://www.redmine.org/boards/3/topics/4701錛宧ttp://github.com/Ubik/redmine_issues_group
聽聽聽 鍙﹀涓涓猦ttp://www.redmine.org/issues/443
12,redmine楂樼増鏈凡緇忔敮鎸佷換鍔$殑鏃犻檺宓屽錛屼絾鐣岄潰娌℃湁浣撶幇

20,bitnami鎻愪緵鐨勫偦鐡滃畨瑁呭寘錛岃http://bitnami.org/stack/redmine



leekiang 2010-10-15 16:34 鍙戣〃璇勮
]]>
rails濂芥枃http://m.tkk7.com/leekiang/archive/2010/10/15/335243.htmlleekiangleekiangFri, 15 Oct 2010 08:33:00 GMThttp://m.tkk7.com/leekiang/archive/2010/10/15/335243.htmlhttp://m.tkk7.com/leekiang/comments/335243.htmlhttp://m.tkk7.com/leekiang/archive/2010/10/15/335243.html#Feedback0http://m.tkk7.com/leekiang/comments/commentRss/335243.htmlhttp://m.tkk7.com/leekiang/services/trackbacks/335243.html2,http://www.smashingmagazine.com/2010/10/26/successful-freelancing-with-ruby-on-rails-workflow-techniques-and-tools/
3,http://www.rubyinside.com/11-tips-on-hiring-a-rails-developer-662.html
4,http://www.rubyinside.com/how-to-get-a-job-at-a-top-ruby-shop-1618.html
5,http://www.matthewpaulmoore.com/ruby-on-rails-code-quality-checklist
6,Ruby on Rails鎬ц兘闂瑙e喅涔嬮亾



leekiang 2010-10-15 16:33 鍙戣〃璇勮
]]>
railroad浣跨敤http://m.tkk7.com/leekiang/archive/2010/10/14/335165.htmlleekiangleekiangThu, 14 Oct 2010 10:56:00 GMThttp://m.tkk7.com/leekiang/archive/2010/10/14/335165.htmlhttp://m.tkk7.com/leekiang/comments/335165.htmlhttp://m.tkk7.com/leekiang/archive/2010/10/14/335165.html#Feedback0http://m.tkk7.com/leekiang/comments/commentRss/335165.htmlhttp://m.tkk7.com/leekiang/services/trackbacks/335165.html1錛実em install railroad 瑁呯殑鐗堟湰鏄?.5.0
2, 瀹夎graphviz-2.26.3.msi
3, 鍦ㄥ簲鐢ㄧ洰褰曚笅railroad -M | dot -Tsvg > models.svg錛屾姤閿?
C:/Ruby186/lib/ruby/gems/1.8/gems/railroad-0.5.0/lib/railroad/app_diagram.rb:54:
in `reopen': No such file or directory - /dev/null (Errno::ENOENT)
聽聽 鎼滃埌綃囨枃绔犺鎶奵:/Ruby186/lib\ruby\gems\1.8\gems\railroad-0.5.5\lib\railroad涓嬬殑app_diagram.rb鐨?4琛屾敼涓?code class="spaces">STDOUT.reopen('NUL:')
鎶奵ontrollers_diagram.rb鐨?9琛屾敼涓簉equire "app/controllers/application_controller.rb"
鎸夎姹備慨鏀瑰悗鍦ㄥ簲鐢ㄤ笅鎵цrailroad -a -i -M | dot -Tpng > models.png錛屽張鎶?
D:/netbeansWorkSpace/redmine/vendor/rails/activesupport/lib/active_support/w
hiny_nil.rb:52:in `method_missing': undefined method `klass' for nil:NilClass (N
oMethodError)

娉?ruby涓?.8.6,rails涓?.3.5
鍙傝?
http://www.javaeye.com/topic/88700
http://blog.brzezinka.eu/webmaster-tips/ruby/ror-railroad-plugin-with-rails-2-3-5-on-windows-error


璇ユ枃绔犲悗闈㈣浜嗗浣曚嬌鐢╮ake鑷姩鐢熸垚錛宑opy濡備笅:
To automate the process of creating schemes, you can create Rails task. In your rails_project_dir/Libs/tasks create diagrams.rake and copy the text:
namespace聽:doc聽do
聽聽namespace聽
:diagram聽do
聽聽聽聽task聽
:models聽do
聽聽聽聽聽聽sh聽
"railroad聽-a聽-i聽-M聽|聽dot聽-Tpng聽>聽doc/models.png"
聽聽聽聽聽聽sh聽
"railroad聽-i聽-l聽-a聽-m聽-M聽|聽dot聽-Tsvg聽doc/models.svg"
聽聽聽聽end

聽聽聽聽task聽
:controllers聽do
聽聽聽聽聽聽sh聽
"railroad聽-i聽-l聽-C聽|聽neato聽-Tsvg聽>聽doc/controllers.svg"
聽聽聽聽end
聽聽end

聽聽task聽
:diagrams聽=>%w(diagram:models聽diagram:controllers)

end

Now you can run the task by typing in console: rake doc:diagrams to generate all diagrams (for models an controllers) or rake doc:diagram:models to generate diagram for models only.

Due to the information on RailsRoad Docs, there is a bug in Graphvis while crating svg graphic. There is a simple way to correct it (citation from RailsRoad Docs):

Important: There is a bug in聽Graphviz tools when generatingSVG files that cause a text overflow. You can solve this problem editing (with a text editor, not a graphical聽SVG editor) the file and replacing around line 12 鈥?code>font-size:14.00;鈥? by 鈥?code>font-size:11.00;鈥? or by issuing the following command (see 鈥?code>man sed鈥?:

sed聽-i聽's/font-size:14.00/font-size:11.00/g'聽file.svg

Note: For viewing and editing聽SVG there is an excellent opensource tool called聽Inkscape (similar to聽Adobe Illustrator.) For聽DOTprocessing you can also use聽Omnigraffle (on聽Mac OS X).





leekiang 2010-10-14 18:56 鍙戣〃璇勮
]]>
windows涓媟ails寮鍙戠幆澧冩惌寤?/title><link>http://m.tkk7.com/leekiang/archive/2010/10/13/335057.html</link><dc:creator>leekiang</dc:creator><author>leekiang</author><pubDate>Wed, 13 Oct 2010 09:13:00 GMT</pubDate><guid>http://m.tkk7.com/leekiang/archive/2010/10/13/335057.html</guid><wfw:comment>http://m.tkk7.com/leekiang/comments/335057.html</wfw:comment><comments>http://m.tkk7.com/leekiang/archive/2010/10/13/335057.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/leekiang/comments/commentRss/335057.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/leekiang/services/trackbacks/335057.html</trackback:ping><description><![CDATA[1,瀹夎ruby1.8.6-p398,鎶婃坊鍔犵幆澧冨彉閲忛偅涓欏規(guī)墦鍕?br />2,瀹夎rails<br />聽 gem install rails -v=2.3.5<br />3,瀹夎rdoc錛岀増鏈負rdoc-2.5.11.gem<br />http://rubyforge.org/frs/?group_id=627<br />娌℃湁瀹夎rdoc-data-2.5.3.gem錛屼笉鐭ラ亾鏈夋病鏈夐棶棰?br />4,鍦∕ysql瀹夎鐩綍鐨刡in 鐩綍涓嬶紝鎵懼埌 ibmySQL.dll 錛屽皢璇ユ枃浠禖opy鍒般Ruby瀹夎鐩綍鐨?bin鐩綍涓?<br />鍒癶ttp://rubyforge.org/projects/mysql-win涓嬭澆瀹夎mysql-2.8.1-x86-mswin32.gem<br />5,涔辯爜鐨勯棶棰樺弬瑙乭ttp://www.javaeye.com/topic/66347<br />聽 淇敼MySQL鐨勯厤緗枃浠禖:\Program Files\MySQL\MySQL Server 5.0\my.ini錛屾敼鍏朵腑鐨勪袱澶刣efault-character-set=utf8,鏀瑰畬鍚庨噸鍚疢ySQL錛宻chema涔熻閲嶅緩.<br />聽 mysql鐨勭紪鐮佹湁娌℃湁鏀硅繃鏉ヤ互瀛楁鐨勭紪鐮佷負鍑嗐?br />聽 鎴戝彂鐜扮粡netbeans6.9緙栬緫榪囩殑erb鏂囦歡鐨勭紪鐮佷負utf-8鏃燘OM<br />6,鍦ㄩ」鐩礬寰勪笅鎵цrake gems:install,浼氳嚜鍔ㄥ畨瑁卐nvironment.rb閲屾爣鏄庣殑gem<br />聽 濡傛灉rake gems:install RAILS_ENV=test錛岄偅涔堜細鑷姩瀹夎config\environments\test.rb閲屾爣鏄庣殑gem<br />聽 榪欎簺gem閮戒細瀹夎鍒癈:\ruby\lib\ruby\gems\1.8\gems涓嬨傚鏋滃悓涓涓猤em鍦ㄥ涓」鐩腑鐗堟湰涓嶄竴鏍峰浣曞鐞?br />7,rake rails:update鏄鏃ails鐗堟湰鐨勯」鐩繘琛屽崌綰у悧?<br />8,浣跨敤sqlite3<br />聽 <span id="csom6ky" class="quoting-level-1">gem install sqlite3-ruby</span><br />聽 涓嬭澆http://www.sqlite.org/sqlitedll-3_6_23_1.zip錛岃В鍘嬫斁鍒皉uby\bin涓嬨?br />聽 test:<br />聽 adapter: sqlite3<br />聽 database: db/test.sqlite3<br />聽 pool: 5<br />聽 timeout: 5000<br /><pre><br /></pre><img src ="http://m.tkk7.com/leekiang/aggbug/335057.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/leekiang/" target="_blank">leekiang</a> 2010-10-13 17:13 <a href="http://m.tkk7.com/leekiang/archive/2010/10/13/335057.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>ApplicationControllerhttp://m.tkk7.com/leekiang/archive/2010/04/19/318702.htmlleekiangleekiangSun, 18 Apr 2010 17:46:00 GMThttp://m.tkk7.com/leekiang/archive/2010/04/19/318702.htmlhttp://m.tkk7.com/leekiang/comments/318702.htmlhttp://m.tkk7.com/leekiang/archive/2010/04/19/318702.html#Feedback0http://m.tkk7.com/leekiang/comments/commentRss/318702.htmlhttp://m.tkk7.com/leekiang/services/trackbacks/318702.html
http://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection/ClassMethods.html


leekiang 2010-04-19 01:46 鍙戣〃璇勮
]]>
rails楠岃瘉http://m.tkk7.com/leekiang/archive/2010/03/22/316105.htmlleekiangleekiangSun, 21 Mar 2010 17:55:00 GMThttp://m.tkk7.com/leekiang/archive/2010/03/22/316105.htmlhttp://m.tkk7.com/leekiang/comments/316105.htmlhttp://m.tkk7.com/leekiang/archive/2010/03/22/316105.html#Feedback0http://m.tkk7.com/leekiang/comments/commentRss/316105.htmlhttp://m.tkk7.com/leekiang/services/trackbacks/316105.html
http://hot88zh.javaeye.com/blog/512561


leekiang 2010-03-22 01:55 鍙戣〃璇勮
]]>
rails澶勭悊妯″瀷鍏崇郴鐨勮〃鍗曞祵濂?/title><link>http://m.tkk7.com/leekiang/archive/2010/03/06/314667.html</link><dc:creator>leekiang</dc:creator><author>leekiang</author><pubDate>Fri, 05 Mar 2010 18:24:00 GMT</pubDate><guid>http://m.tkk7.com/leekiang/archive/2010/03/06/314667.html</guid><wfw:comment>http://m.tkk7.com/leekiang/comments/314667.html</wfw:comment><comments>http://m.tkk7.com/leekiang/archive/2010/03/06/314667.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/leekiang/comments/commentRss/314667.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/leekiang/services/trackbacks/314667.html</trackback:ping><description><![CDATA[rails2.3 鍦ㄥ鐞?妯″瀷鍏崇郴 鐨勮〃鍗曞祵濂椾笂錛岄潪甯告柟渚垮疄鐢ㄧ殑鐗規(guī)? <br />http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes<br /><a >鏉ユ簮</a><br /><img src ="http://m.tkk7.com/leekiang/aggbug/314667.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/leekiang/" target="_blank">leekiang</a> 2010-03-06 02:24 <a href="http://m.tkk7.com/leekiang/archive/2010/03/06/314667.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Rails鐨凙ssociationhttp://m.tkk7.com/leekiang/archive/2010/02/21/313488.htmlleekiangleekiangSat, 20 Feb 2010 18:20:00 GMThttp://m.tkk7.com/leekiang/archive/2010/02/21/313488.htmlhttp://m.tkk7.com/leekiang/comments/313488.htmlhttp://m.tkk7.com/leekiang/archive/2010/02/21/313488.html#Feedback0http://m.tkk7.com/leekiang/comments/commentRss/313488.htmlhttp://m.tkk7.com/leekiang/services/trackbacks/313488.html

leekiang 2010-02-21 02:20 鍙戣〃璇勮
]]>
rails鐭ュ悕搴旂敤鍜屽伐鍏?/title><link>http://m.tkk7.com/leekiang/archive/2008/12/01/243602.html</link><dc:creator>leekiang</dc:creator><author>leekiang</author><pubDate>Sun, 30 Nov 2008 18:30:00 GMT</pubDate><guid>http://m.tkk7.com/leekiang/archive/2008/12/01/243602.html</guid><wfw:comment>http://m.tkk7.com/leekiang/comments/243602.html</wfw:comment><comments>http://m.tkk7.com/leekiang/archive/2008/12/01/243602.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/leekiang/comments/commentRss/243602.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/leekiang/services/trackbacks/243602.html</trackback:ping><description><![CDATA[1,<em>鍗氬,cms綾?br />聽 Mephisto 宸插崌鍒?.2.2錛?/em><em><br />聽 typo 宸插崌綰ц嚦2.3.5<br /></em><em>聽 radiantcms 鍐呭綆$悊</em><br />聽 rubricks<br />聽 refinerycms<br />聽 locomative<br /><em>聽 simplelog:http://simplelog.net<br />聽 1stlog鏄竴涓拡瀵逛腑鍥界敤鎴峰紑鍙戠殑鍩轟簬RubyOnRails鐨凚log緋葷粺<br />聽 http://www.h3rald.com/articles/rails-os-killer-apps<br />2錛岄」鐩鐞?br /></em>聽聽 Redmine 2.3.5<br />聽聽 retrospectiva聽 http://retrospectiva.org/聽 2.3.5<br />聽聽 Teambox<br />聽聽 Clocking IT 鍔熻兘鏇翠負寮哄ぇ<br />3錛岃鍧?br />聽 beast錛宺forum<br />聽 beast鏀歸犵増:http://code.google.com/p/savage-beast-2/<br />聽聽聽聽聽聽聽聽聽聽聽聽聽 http://github.com/courtenay/altered_beast<br />聽 rboard:https://github.com/radar/rboard<br />4,SNS<br />https://github.com/insoshi/insoshi<br />https://github.com/stevenbristol/lovd-by-less錛宒emo瑙乭ttp://try.lovdbyless.com/聽聽 <br />https://github.com/bborn/communityengine聽 瑙乭ttp://communityengine.org/<br />https://github.com/timothyf/EngineY<br />涔?br />銆奝ractical Rails Social Networking Sites銆?br />銆奟ailsSpace: Building a Social Networking Website with Ruby on Rails銆?br /><br /><em>5錛岃繘閿瀛?br />http://hamster.rubyforge.org/index.htm<br />Spree http://spreehq.org/聽 宸插崌綰ц嚦2.3.5<br />gal聽 http://gal.railsplayground.com/<br />聽聽聽聽 http://sourceforge.net/projects/gal<br />聽聽聽聽 https://gal.svn.sourceforge.net/svnroot/gal/trunk/<br />http://www.javaeye.com/news/5718-23-best-open-source-ruby-on-rails-application<br />6,</em><em>substruct</em><br /><em>http://code.google.com/p/</em><em>substruct</em><em>/<br /><br />tracks 涓漢鏃墮棿綆$悊? http://www.getontracks.org 2.2.2<br /><br /><br />6 CRM,erp<br />fat_free_crm http://www.fatfreecrm.com/聽 鐩墠鍩轟簬2.3.4,浼間箮娌℃湁鍗曞厓嫻嬭瘯<br /></em><em>extrails</em><br /><em>http://sourceforge.net/projects/extrails/<br />http://code.google.com/p/pa-manager/<br />瀹樼綉涓篽ttp://www.ev-manager.com<br /><br />鏂囨。綆$悊<br />http://github.com/bruparel/file_manager<br /><br />閭歡<br />mailr<br /><br />紺句細鍖栫綉緇?br />Community Engine聽 http://communityengine.org/<br />onebody聽聽 insoshi<br />openmind<br />http://www.blog.railshouse.com/2009/04/17/Top-Open-Source-Ruby-On-Rails-Projects<br /><br />7錛?/em>Rools is a pure Ruby rules-engine.<br />8錛宱penWFEru is an open source Ruby workflow and <span id="iwcasgo" class="caps">BPM</span> engine銆傚張鍚?em>Ruote</em><br />9錛孲preadsheet can read, write and modify Spreadsheet Documents<br /><em>10錛?/em><em>sequel</em><br /><em>http://www.infoq.com/cn/news/2008/12/sequel-ruby-db-toolkit<br />11錛孯ails聽 Metal鏄竴涓洿緇曚竴鑸琑ack涓棿浠剁殑灝佽wrapper錛岃兘澶熸斁鍦≧ails璇鋒眰鐨勫墠闈㈠茍浣跨敤Rails鐨剆ession銆侻etal鐨勫嚭鐜扮粰璁㏑ails搴旂敤鐨勮繍琛岄熷害鏋佸ぇ鍔犲揩錛屽茍涓旇兘澶熸瘡縐掗挓鍚屾椂澶勭悊鎴愬崈涓婁竾鐨勫簲鐢?br /><br />12,rubycas-server聽 鍗曠偣鐧誨綍<br />聽聽 http://chinaonrails.com/topic/view/1610.html<br />聽 http://code.google.com/p/rorjossoagent/聽聽 </em>destinyd.war@gmail.com<br /><em><br />13,</em><a >璇村埌宸ヤ綔嫻佸紩鎿?/a>錛宺uby鐨剆tate machine闈炲父涓嶉敊錛屽湪鍔熻兘/寮鍙戞晥鐜?鍙墿灞曟х瓑鏂歸潰錛屾病鏈変換浣曚竴涓紑婧愮殑java宸ヤ綔嫻佸紩鎿庡彲浠ュ拰瀹冨緹庯細 <br /><a target="_blank">http://github.com/pluginaweek/state_machine/tree/master</a><br />http://www.javaeye.com/topic/362207<br /><br />http://m.tkk7.com/cap/archive/2005/07/17/7895.html<br />Graphviz鐨勪富欏靛湪<a >http://www.graphviz.org/</a> 錛?浠栨槸AT&T Labs-Research寮鍙戠殑鍥懼艦緇樺埗宸ュ叿,聽 浠栧彲浠ュ緢鏂逛究鐨勭敤鏉ョ粯鍒剁粨鏋勫寲鐨勫浘褰㈢綉緇滐紝鏀寔澶氱鏍煎紡杈撳嚭錛?鐢熸垚鍥劇墖鐨勮川閲忓拰閫熷害閮戒笉閿?br /><br />acts_state_machine<br /><br />14,Bort<br /><span id="repository_description" rel="/fudgestudios/bort/edit/update" class="">A base rails app featuring: RESTful Authentication, Will Paginate, Rspec &amp; Rspec-rails, Exception Notifier, Asset Packager, Cap Recipe (multi-stage).</span><br />15 sinatra 寰瀷web妗嗘灦<br />16 pony 鍙戦偖浠?br />17 rest-client浠f浛ActiveResource<br />18 鎶ヨ〃 ruport聽聽 rails21-book聽聽 <span id="h8m.5" style="font-family: Arial;" class="Apple-style-span"><span id="hl9l" style="font-family: Lucida; line-height: 16px;" class="Apple-style-span">Prawn聽聽 </span></span>ActvieFPDF<br /><font color="red">聽聽 <a >HowtoGeneratePDFs</a></font><span id="h8m.5" style="font-family: Arial;" class="Apple-style-span"><span id="hl9l" style="font-family: Lucida; line-height: 16px;" class="Apple-style-span"><br />聽聽 http://wiki.rubyonrails.org/rails/pages/HowtoIntegrateJasperReports<br />19 Radiant錛氫竴涓《灝栫殑鍩轟簬Rails鐨凜MS<br />20 </span></span>Mongrel<br />聽聽 http://chinaonrails.com/topic/view/206.html<br />聽聽 Mongrel 鏄竴涓猺uby鐨剋ebserver鍜岀被搴? Mongrel鐨勭壒鑹插氨鏄揩錛屽畠姣攔uby鑷甫鐨剋eb server榪樻湁鍏朵粬鐨剋ebserver閮借蹇傛妸紼嬪簭閮ㄧ講鍒拌繖涓笂闈㈡槸浼氱粰浣犲甫鏉ラ熷害涓婄殑鎯婂枩鐨勩? 鍙﹀浣犱篃鍙互鍦╮uby紼嬪簭涓洿鎺ヤ嬌鐢╩ongrel錛屽紑鍙戝睘浜庤嚜宸變笓鐢ㄧ殑web server銆俶ongrel鐨勫畨瑁呰秴綰х畝鍗曪紝鍒繕浜嗕粬鏄敤rubygems鎵撳寘鐨勶紝涓涓懡浠ゅ畬鍏ㄦ悶瀹氥?gem install mongrel <br /> 鍦ㄦ垜浠粙緇嶇殑浜斾釜姝﹀櫒鎬籱ongrel鏄敮涓鐨勪竴涓被搴撱備粬鏄紑鏀炬簮浠g爜鐨勩備粬鏄竴涓緢濂界殑鏁欐垜浠浣曟妸鑷繁鐨勪駭鍝佹墦鍖咃紝甯傚満鍖栥傚綋鐒朵粬鏈鍚稿紩鐨勫氨鏄粬鐨勪綔鑰呬粠涓暀緇欐垜浠浣曞啓涓涓被搴撱?<br /><br />21聽 InstantRails錛屼竴涓狝ll In One鐨勫浠訛紝鍙互甯姪浣犲揩閫熸惌寤篟uby On Rails寮鍙戠幆澧?br /><br />22聽 Adhearsion is a new way to write voice-enabled applications. It's not just an API or library 鈥?it's a <strong>fully-featured framework</strong>, the first of its kind, designed for maximal code reuse and intuitiveness. The name "Adhearsion" is a combination of "adhesion" and "hear" because Adhearsion shines best when integrating technologies with voice.<br /><br />23 http://www.h3rald.com/articles/rails-os-killer-apps<br /><br />24 Shoes鍙槸鐜╁叿錛岃鐢≧uby榪涜蹇烥UI寮鍙戯紝璇風(fēng)敤wxRuby+wxSugar<br />聽聽 http://quake.javaeye.com/blog/295829<br /><br />25 鏉冮檺鎻掍歡<br />http://github.com/binarylogic/authlogic/tree/master<br /><br />26 鏌ヨ<br />http://www.javaeye.com/topic/585348<br />http://book.csdn.net/bookfiles/879/10087927419.shtml<br />http://www.javaeye.com/topic/241343 <a >Searchgasm</a>聽 searchlogic<br />Where鎻掍歡聽 ostruct<br /><a >simple_column_search</a> http://doruby.kbmj.com/tn_on_rails/20100120/<br /><br />27,<Rails楂樼駭緙栫▼><br /><br />28,<font size="-1"><font color="#c60a00">Camping</font>灝嗚嚜宸卞畾涔変負涓唬鐮侀噺淇濇寔鍦?k瀛楄妭澶у皬浠ヤ笅Web寮鍙戞鏋惰繖涓」鐩凡鍒涘緩浜?2涓湀騫剁敱 whytheluckystf緇存姢涓畬鏁磜eb搴旂敤鍙互鍦ㄥ崟鏂囦歡涓畾涔夊悓鏃墮伒寰狹VC妗嗘灦(榪欎嬌寰梬eb搴旂敤浠ュ悗鏇存槗浜庣Щ妞?鍒?font color="#c60a00">Rails</font>鐨勪笂)<font color="#c60a00">Camping</font>浣跨敤ActiveRecord浣滀負ORM瑙e喅鏂規(guī)</font><br /><br />29,nokogiri 瑙f瀽xml錛岀敤娉曠被浼間簬jquery<br /><br />30錛宮ini_magick澶勭悊鍥劇墖<br /><br />31,rcov<br />鏄嬌浣犵殑紼嬪簭涓嶇粡甯稿穿婧冪殑鐞嗙敱涔嬩竴銆?瀹冨垎鏋愪綘鐨勪唬鐮侊紝 楂樹寒鏄劇ず浣犵殑嫻嬭瘯浠g爜閬楁紡鐨勯儴鍒嗐?瀹冮熷害蹇紝 涓嶅崰璧勬簮錛?騫朵笖鑳藉噺杞誨ご鐥?錛?<br /><br />32,hpricot 鏄竴涓揩閫熴佸鏄撲笂鎵嬬殑 HTML 鍒嗘瀽鍣ㄣ?濡傛灉浣犲彂鐜拌嚜宸遍渶瑕佽В鏋?HTML 鎶戞垨 XML 鐨勫唴瀹癸紝 hpricot 鏄渶綆鎹風(fēng)殑鏂規(guī)硶涔嬩竴<br /><br />33,Capistrano 鏄?Rails 搴旂敤紼嬪簭寮鍙戞洿鍔犱粠瀹廣?瀹冭繕鏄竴涓敤鏉ュ拰榪滅▼鏈嶅姟鍣ㄤ氦浜掔殑鑱槑鐨?framework 銆?浜嬪疄涓婃垜宸茬粡澶囦喚浜嗙敤 Capistrano 鍐欑殑浠g爜錛?浣滀負 Rake/Net::SSH 鎴栬?shell 浠g爜涔嬪鐨勫彟涓涓夋嫨銆?br /><br />34,Turn 浣夸綘鐨?Test::Unit 杈撳嚭鏇存槗璇匯?Turn 涔熻鐪嬭搗鏉ヤ笉閭d箞鎷涗漢鍠滄錛?浣嗗畠紜疄瀵歸槄璇繪祴璇曠粨鏋滄湁寰堝ぇ甯姪銆?鍦ㄧ淮鎶?Helicoid 鐨勬椂鍊欐垜瀵規(guī)祴璇曚弗閲嶄緷璧栵紝 鎵浠ヤ換浣曡兘浣胯繖欏瑰伐浣滃彉寰楁洿綆媧佺殑涓滆タ鎴戦兘涔愪簬灝濊瘯銆傝瀹夎 turn錛?浣跨敤 gem install turn 鍛戒護銆?br /><br />35, scruffy鍜孏ruff鍙敤鏉ヤ駭鐢熷浘褰?br /><br />36, rubyscript2exe鍜孍xerb鍙互緙栬瘧涓篹xe鏂囦歡,鍚庤呯敓鎴愮殑鏂囦歡灝忥紝濡傛灉鍚庤呯敓鎴愮殑榪愯涓嶄簡鍙互璇曞墠鑰呫?br /><br />37錛?JRails灝辨槸鐢╦Query鏇夸唬Prototype/script.aculo.us鍦≧ails鍋?helpers瀹炵幇javascript鐨勫姛鑳?br />聽聽聽聽 http://kyoleelqh.javaeye.com/blog/250514<br /><br />38,GNMS鏄竴涓綉緇滅鐞嗙郴緇燂紝鍥懼艦鍖栧伐鍏鳳紝鐢ㄤ簬鐩戞祴緗戠粶鍏冪礌鐨勭姸鎬?br />39錛孭lugin to kill N+1 queries<br />聽聽聽 http://github.com/flyerhzm/bullet聽聽 destinyd_ror@163.com<br /><br />http://www.opensourcerails.com<br /><em><br />http://www.infoq.com/cn/articles/changing-the-present-case-stud<br />http://www.roredu.com/rubyrails/category/ruby-on-rails-item/<br />http://www.javaeye.com/news/1993<br />http://hqmank.blog.bokee.net/bloggermodule/blog_viewblog.do?id=532562<br />http://www.opensourcerails.com/<br />http://www.practicalecommerce.com/blogs/post/432-Multiple-Attachments-in-Rails<br /></em><img src ="http://m.tkk7.com/leekiang/aggbug/243602.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/leekiang/" target="_blank">leekiang</a> 2008-12-01 02:30 <a href="http://m.tkk7.com/leekiang/archive/2008/12/01/243602.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://3t77.com" target="_blank">亚洲 欧洲 自拍 另类 校园</a>| <a href="http://xdxdl.com" target="_blank">亚洲乱码一二三四区国产</a>| <a href="http://jiujiujingpin.com" target="_blank">国产亚洲精品美女2020久久</a>| <a href="http://fdsyjy.com" target="_blank">成年女人免费视频播放体验区</a>| <a href="http://www-63228.com" target="_blank">亚洲免费网站在线观看</a>| <a href="http://www-33758.com" target="_blank">成人女人A级毛片免费软件</a>| <a href="http://wjjccw.com" target="_blank">亚洲制服丝袜中文字幕</a>| <a href="http://ljdst.com" target="_blank">女性无套免费网站在线看</a>| <a href="http://ksyanhui.com" target="_blank">亚洲heyzo专区无码综合</a>| <a href="http://kmc19.com" target="_blank">四虎永久精品免费观看</a>| <a href="http://huianpawn.com" target="_blank">特级毛片A级毛片100免费播放</a>| <a href="http://dxj588.com" target="_blank">亚洲AV无码专区日韩</a>| <a href="http://91xx8.com" target="_blank">99久久免费国产精精品</a>| <a href="http://4eeyy.com" target="_blank">亚洲免费视频网站</a>| <a href="http://wwwxue1888.com" target="_blank">亚欧色视频在线观看免费</a>| <a href="http://xyzch.com" target="_blank">亚洲一卡2卡3卡4卡乱码 在线</a>| <a href="http://hylaowu.com" target="_blank">青青草国产免费久久久91</a>| <a href="http://pj9xx6.com" target="_blank">特级毛片免费播放</a>| <a href="http://4eeyy.com" target="_blank">久久亚洲综合色一区二区三区</a>| <a href="http://nxjyyj.com" target="_blank">18观看免费永久视频</a>| <a href="http://xxx2222.com" target="_blank">亚洲精品第一国产综合亚AV</a>| <a href="http://xixidhw.com" target="_blank">亚洲精品456播放</a>| <a href="http://010youhua.com" target="_blank">国产白丝无码免费视频</a>| <a href="http://51xinshiji.com" target="_blank">亚洲国产中文在线二区三区免</a>| <a href="http://c7372.com" target="_blank">免费毛片网站在线观看</a>| <a href="http://biarn.com" target="_blank">一个人看www免费高清字幕</a>| <a href="http://xiaomaomi8.com" target="_blank">亚洲av色福利天堂</a>| <a href="http://0453wcbyy.com" target="_blank">免费做爰猛烈吃奶摸视频在线观看</a>| <a href="http://kanboy.com" target="_blank">国内成人精品亚洲日本语音 </a>| <a href="http://xxzyyj.com" target="_blank">成人免费无码大片A毛片抽搐色欲</a>| <a href="http://26672814.com" target="_blank">亚洲色偷偷色噜噜狠狠99网</a>| <a href="http://yy6653.com" target="_blank">亚洲国产成人久久综合区</a>| <a href="http://yjszhukao.com" target="_blank">人人揉揉香蕉大免费不卡</a>| <a href="http://ttays.com" target="_blank">亚洲日韩精品A∨片无码加勒比</a>| <a href="http://youweidianqi.com" target="_blank">亚洲黄片毛片在线观看</a>| <a href="http://yuezhaoming.com" target="_blank">100部毛片免费全部播放完整</a>| <a href="http://qixiresort.com" target="_blank">精品国产亚洲一区二区三区在线观看 </a>| <a href="http://tlyyt.com" target="_blank">久久久久精品国产亚洲AV无码</a>| <a href="http://5shitou.com" target="_blank">免费A级毛片在线播放不收费</a>| <a href="http://sanyoumiaomu.com" target="_blank">a级毛片100部免费观看</a>| <a href="http://sdhuamo.com" target="_blank">亚洲综合久久精品无码色欲</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>