<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>夜的第七章 - ASP.NET、C#、.NET、Web开发 - Ruby</title><link>http://www.leadnt.com/</link><description>go on,go on - </description><generator>RainbowSoft Studio Z-Blog 1.8 Arwen Build 81206</generator><language>zh-CN</language><copyright>&amp;amp;copy;2007 - 2010 www.leadnt.com 保留一些权利吧</copyright><pubDate>Sun, 01 Aug 2010 17:07:12 +0800</pubDate><item><title>推荐Ruby开发工具 - ruby in steel</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/Ruby/405.html</link><pubDate>Fri, 04 Dec 2009 16:34:45 +0800</pubDate><guid>http://www.leadnt.com/Ruby/405.html</guid><description><![CDATA[<p>一个VS2005/VS2008插件，使Visual studio2005/2008支持ruby开发，有了VS的智能提示，RUBY开发如虎添翼&hellip;&hellip;</p><p>&nbsp;安装后，VS里的项目已经有了ruby和rails的项目：</p><p><img title="" alt="" onload="ResizeImage(this,520)" src="http://www.leadnt.com/upload/200912041640287128.JPG" /></p><p>...</p>]]></description><category>Ruby</category><comments>http://www.leadnt.com/Ruby/405.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=405</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=405&amp;key=c6d3a742</trackback:ping></item><item><title>netbeans界面/菜单字体修改[转]</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/Ruby/398.html</link><pubDate>Tue, 29 Sep 2009 18:21:18 +0800</pubDate><guid>http://www.leadnt.com/Ruby/398.html</guid><description><![CDATA[<p>NetBeans界面非常难看，字体大小有锯齿，看看别人怎么解决的吧！</p>]]></description><category>Ruby</category><comments>http://www.leadnt.com/Ruby/398.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=398</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=398&amp;key=32a6ed4e</trackback:ping></item><item><title>关于generate scaffold 报错，升级所发生的</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/Ruby/397.html</link><pubDate>Fri, 25 Sep 2009 00:08:14 +0800</pubDate><guid>http://www.leadnt.com/Ruby/397.html</guid><description><![CDATA[<p>在ror电子商务实战一书中，有<font face="Courier">generate scaffold 'admin/publiher'，执行这个总是错。</font></p><p>同时，只能说scaffold还很不稳定，很不完善&hellip;&hellip;建议少用&hellip;&hellip;</p>]]></description><category>Ruby</category><comments>http://www.leadnt.com/Ruby/397.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=397</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=397&amp;key=4f4915f7</trackback:ping></item><item><title>入门ruby（4）：rails中的网页模板</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/Ruby/388.html</link><pubDate>Wed, 22 Jul 2009 21:42:17 +0800</pubDate><guid>http://www.leadnt.com/Ruby/388.html</guid><description><![CDATA[<p>rails 中的模板都放在app/views/layouts/下。模板后缀是rhtml和erb都可以，但以erb为先，如果已有一个erb后缀的模板，则不再找rhtml。</p><p>模板留给子页显示的地方用yield来标识，如&lt;%= yield %&gt;，这样子也内容都会在这个位置显示。</p><p>rails自动是按名称来套的。比如如果模板名字叫application.erb，那rails默认把它当作全局模板，站内所有页面都会套用这个模板。</p><p>如果把名字命名成controller的名字，如controller say，如果命名成say，则默认controller say下的所有页面都会应用这个模板。如果定义的模板名称既不是application，又不是controller名称，怎么让某一页面套用这个模板呢？在controller中定义可以实现。比如模板页叫speak.erb，而想让controller say下所有页是套用，则在say的controller类内声明下：</p>...]]></description><category>Ruby</category><comments>http://www.leadnt.com/Ruby/388.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=388</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=388&amp;key=b66765b8</trackback:ping></item><item><title>入门Ruby(3):Open SUSE11上的RoR环境配置</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/Ruby/387.html</link><pubDate>Tue, 21 Jul 2009 21:41:09 +0800</pubDate><guid>http://www.leadnt.com/Ruby/387.html</guid><description><![CDATA[<p>suse11的安装命令是：</p><p>sudo zypper install ruby</p><p>sudo zypper install rubygems</p><p>gem install rails</p><p>安装前最好点开始／YaST，升级下系统。因为系统可能包括一些依赖库，但是旧的，如果就此安装可能匹配不上。上面的安装就是在yast更新后一气呵成。也没有了以前缺少zlib，缺少openssl，可能是ruby里包含了？</p><p>然后就是 mysql，系统反复提醒，已经安装。反复倒腾，未果。最后在一博客找到答案：</p>...]]></description><category>Ruby</category><comments>http://www.leadnt.com/Ruby/387.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=387</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=387&amp;key=87797904</trackback:ping></item><item><title>Ruby on Rails HTML表单语句大全</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/Ruby/386.html</link><pubDate>Fri, 17 Jul 2009 21:39:32 +0800</pubDate><guid>http://www.leadnt.com/Ruby/386.html</guid><description><![CDATA[<p>表单开始标签:<br />&lt;%= form_tag { :action =&gt; :save }, { :method =&gt; :post } %&gt;<br />Use :multipart =&gt; true to define a Mime-Multipart form (for file uploads)<br />表单结束标签:<br />&lt;%= end_form_tag %&gt;</p><p>文本框 Text fields<br />&lt;%= text_field :modelname, :attribute_name, options&nbsp; %&gt;<br />...</p>]]></description><category>Ruby</category><comments>http://www.leadnt.com/Ruby/386.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=386</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=386&amp;key=7947c8b3</trackback:ping></item><item><title>入门Ruby(2):操作数据库</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/Ruby/385.html</link><pubDate>Wed, 15 Jul 2009 21:38:18 +0800</pubDate><guid>http://www.leadnt.com/Ruby/385.html</guid><description><![CDATA[<p>接上。上篇ruby基本的环境算是搭建成功。但还是半成。因为如果你加入任何controller的话，会报错的。rails默认数据库是sqlite3,你需要安装sqlite3的ruby驱动。</p><p>从<a href="http://hlee.javaeye.com/blog/342575">http://hlee.javaeye.com/blog/342575</a>摘抄一段：</p><p>首先<a href="http://hlee.javaeye.com/topics/download/ed834082-73f2-3646-9d5c-a89a4d479112" target="_blank">下载rar包</a>，包里一共有6个文件，将它们全部解压缩到你ruby的bin目录中，假设你的ruby安装在了c盘</p>...]]></description><category>Ruby</category><comments>http://www.leadnt.com/Ruby/385.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=385</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=385&amp;key=f6307f27</trackback:ping></item><item><title>入门Ruby(1):ruby on rails在windows下的环境搭建</title><author>djy365@sina.com (roydux)</author><link>http://www.leadnt.com/Ruby/384.html</link><pubDate>Tue, 14 Jul 2009 21:37:45 +0800</pubDate><guid>http://www.leadnt.com/Ruby/384.html</guid><description><![CDATA[<p>打开<a href="http://www.ruby-lang.org/en/downloads/">http://www.ruby-lang.org/en/downloads/</a>，</p><p>找到Ruby on Windows下的<a href="http://rubyforge.org/frs/download.php/47082/ruby186-27_rc2.exe">Ruby 1.8.6 One-Click Installer</a> (md5: 12ffa637e7e761a2dfd98de4eba1a4d5) Stable version (recommended)(请选择最新版本）下载然后安装。</p>...]]></description><category>Ruby</category><comments>http://www.leadnt.com/Ruby/384.html#comment</comments><wfw:comment>http://www.leadnt.com/</wfw:comment><wfw:commentRss>http://www.leadnt.com/feed.asp?cmt=384</wfw:commentRss><trackback:ping>http://www.leadnt.com/cmd.asp?act=tb&amp;id=384&amp;key=875b67f2</trackback:ping></item></channel></rss>
