<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/miyatang" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/miyatang" type="application/rss+xml"></fs:self_link><lastBuildDate>Wed, 27 Jan 2010 05:58:00 GMT</lastBuildDate><title>麦芽糖</title><description>关注:ORACLE,LINUX,web2.0</description><link>http://blog.csdn.net/blogrss.aspx?username=miyatang</link><item><title>RUBY ON RAILS 插件收录：　CACHE:Sweeper Generator</title><link>http://blog.csdn.net/miyatang/archive/2010/01/27/5261428.aspx</link><description>&lt;br /&gt;http://www.ruby-lang.org.cn/forums/viewthread.php?tid=1085&amp;extra=page%3D1%26amp%3Bfilter%3Ddigest&lt;br /&gt; [Rails 常用插件简介]Sweeper Generator&lt;br /&gt;注：Rails常用插件系列仅仅发于我的javaeye博客(http://mmm.javaeye.com/)和http://www.ruby-lang.org.cn，任何转载请注明出处，多谢!&lt;br /&gt;&lt;br /&gt;
cache是系统中必不可少的东西，那么cache的有效期，何时清除过时的cache就显得更加有意思的一个话题。Sweeper Generator 顾名思义是一个Generator，清除过时的cache&lt;br /&gt;&lt;br /&gt;
0:) cache&lt;br /&gt;
Rails中目前有三种cache&lt;br /&gt;
caches_pages&lt;br /&gt;
caches_action&lt;br /&gt;
caches_fragment&lt;br /&gt;&lt;br /&gt;
cache还不懂?那就先收藏着吧，等下&lt;img src=&quot;http://www1.feedsky.com/t1/326403046/miyatang/csdn.net/s.gif?r=http://blog.csdn.net/miyatang/archive/2010/01/27/5261428.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/miyatang/326403046/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/miyatang/326403046/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 27 Jan 2010 13:58:00 +0800</pubDate><author>tangmiya</author><guid isPermaLink="false">http://blog.csdn.net/miyatang/archive/2010/01/27/5261428.aspx</guid><dc:creator>tangmiya</dc:creator><fs:srclink>http://blog.csdn.net/miyatang/archive/2010/01/27/5261428.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/miyatang/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/miyatang/~7362014/326403046/5471520</fs:itemid></item><item><title>svn + apache of linux 安装配置</title><link>http://blog.csdn.net/miyatang/archive/2009/10/14/4670680.aspx</link><description>SVN 服务器端安装与配置&lt;img src=&quot;http://www1.feedsky.com/t1/326403047/miyatang/csdn.net/s.gif?r=http://blog.csdn.net/miyatang/archive/2009/10/14/4670680.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/miyatang/326403047/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/miyatang/326403047/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 14 Oct 2009 17:35:00 +0800</pubDate><author>tangmiya</author><guid isPermaLink="false">http://blog.csdn.net/miyatang/archive/2009/10/14/4670680.aspx</guid><dc:creator>tangmiya</dc:creator><fs:srclink>http://blog.csdn.net/miyatang/archive/2009/10/14/4670680.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/miyatang/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/miyatang/~7362014/326403047/5471520</fs:itemid></item><item><title>为什么西边看到日全食的时间比东边看到的时间会早呢.</title><link>http://blog.csdn.net/miyatang/archive/2009/07/22/4369377.aspx</link><description>&lt;br /&gt;由于月亮自西向东
绕地球运转，所以西边的城市比东边的城市先看到日全食.&lt;br /&gt;中国各城市看到日全食时间表:&lt;br /&gt; 城市初亏食既食甚生光复圆全食长察隅8时03分00秒9时03分05秒9时05分19秒9时07分33秒10时15分17秒4分27.5秒德钦8时03分23秒9时04分24秒9时06分28秒9时08分31秒10时17分24秒4分06.8秒成都8时07分07秒9时11分13秒9时12分18秒9时14分24秒10时26分23秒3分11.2秒崇州8时06分53秒9时10分50秒9时12分21秒9时13分52秒10时25分42秒3分01.5秒达州8时09分35秒9时15分47秒9时17分08秒9时18分30秒10时32分36秒2分43秒大竹8时09分05秒9时14分18秒9时16分34秒9时18分50秒10时32分03秒4分32.2秒峨眉山8时06分08秒9时09分17秒9时11分39秒9时14分02秒10时25分14秒4分45.8秒广安8时08分32秒9时13分19秒9时15分45秒9时18分10秒10时31分00秒4分51.1秒华蓥8时08分35秒9时13分24&lt;img src=&quot;http://www1.feedsky.com/t1/326403048/miyatang/csdn.net/s.gif?r=http://blog.csdn.net/miyatang/archive/2009/07/22/4369377.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/miyatang/326403048/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/miyatang/326403048/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 22 Jul 2009 09:32:00 +0800</pubDate><author>tangmiya</author><guid isPermaLink="false">http://blog.csdn.net/miyatang/archive/2009/07/22/4369377.aspx</guid><dc:creator>tangmiya</dc:creator><fs:srclink>http://blog.csdn.net/miyatang/archive/2009/07/22/4369377.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/miyatang/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/miyatang/~7362014/326403048/5471520</fs:itemid></item><item><title>google 相册无法打开的解决办法</title><link>http://blog.csdn.net/miyatang/archive/2009/07/21/4367953.aspx</link><description>&lt;br /&gt;&lt;br /&gt;修改 HOSTS/&lt;br /&gt;(C:\Windows\System32\drivers\etc\hosts)&lt;br /&gt;&lt;br /&gt;增加以下内容,指定GOOGLE 服务器的解析地址即可.&lt;br /&gt;&lt;br /&gt;203.208.33.100 lh1.ggpht.com&lt;br /&gt;
203.208.33.100 lh2.ggpht.com&lt;br /&gt;
203.208.33.100 lh3.ggpht.com&lt;br /&gt;
203.208.33.100 lh4.ggpht.com&lt;br /&gt;
203.208.33.100 lh5.ggpht.com&lt;br /&gt;
203.208.33.100 lh6.ggpht.com&lt;br /&gt;
203.208.33.100 lh7.ggpht.com&lt;br /&gt;
203.208.33.100 lh8.ggpht.com&lt;img src=&quot;http://www1.feedsky.com/t1/326403049/miyatang/csdn.net/s.gif?r=http://blog.csdn.net/miyatang/archive/2009/07/21/4367953.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/miyatang/326403049/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/miyatang/326403049/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 21 Jul 2009 17:35:00 +0800</pubDate><author>tangmiya</author><guid isPermaLink="false">http://blog.csdn.net/miyatang/archive/2009/07/21/4367953.aspx</guid><dc:creator>tangmiya</dc:creator><fs:srclink>http://blog.csdn.net/miyatang/archive/2009/07/21/4367953.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/miyatang/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/miyatang/~7362014/326403049/5471520</fs:itemid></item><item><title>rails api 网站地址.包含了几个版本.</title><link>http://blog.csdn.net/miyatang/archive/2009/07/16/4353439.aspx</link><description>&lt;br /&gt;&lt;br /&gt;http://www.railsbrain.com/&lt;br /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/326403050/miyatang/csdn.net/s.gif?r=http://blog.csdn.net/miyatang/archive/2009/07/16/4353439.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/miyatang/326403050/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/miyatang/326403050/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 16 Jul 2009 13:36:00 +0800</pubDate><author>tangmiya</author><guid isPermaLink="false">http://blog.csdn.net/miyatang/archive/2009/07/16/4353439.aspx</guid><dc:creator>tangmiya</dc:creator><fs:srclink>http://blog.csdn.net/miyatang/archive/2009/07/16/4353439.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/miyatang/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/miyatang/~7362014/326403050/5471520</fs:itemid></item><item><title>rake -T 列出所有RAKE 命令.</title><link>http://blog.csdn.net/miyatang/archive/2009/07/16/4353430.aspx</link><description>&lt;br /&gt;如在LINUX 下,还可以细化,比如: rake -T |grep &quot;db:&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;D:\rails_app\cucumber&gt;rake -T&lt;br /&gt;
(in D:/rails_app/cucumber)&lt;br /&gt;
rake db:abort_if_pending_migrations  # Raises an error if there are pending...&lt;br /&gt;
rake db:charset                      # Retrieves the charset for the curren...&lt;br /&gt;
rake db:collation                    # Retrieves the collation for the curr...&lt;br /&gt;
rake db:create                       # Create the database defined in confi...&lt;br /&gt;
rake db:create:all  &lt;img src=&quot;http://www1.feedsky.com/t1/326403051/miyatang/csdn.net/s.gif?r=http://blog.csdn.net/miyatang/archive/2009/07/16/4353430.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/miyatang/326403051/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/miyatang/326403051/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 16 Jul 2009 13:34:00 +0800</pubDate><author>tangmiya</author><guid isPermaLink="false">http://blog.csdn.net/miyatang/archive/2009/07/16/4353430.aspx</guid><dc:creator>tangmiya</dc:creator><fs:srclink>http://blog.csdn.net/miyatang/archive/2009/07/16/4353430.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/miyatang/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/miyatang/~7362014/326403051/5471520</fs:itemid></item><item><title>在项目中使用 calendar_date_select</title><link>http://blog.csdn.net/miyatang/archive/2009/07/10/4338290.aspx</link><description>&lt;br /&gt;插件说明:&lt;br /&gt;&lt;br /&gt;http://code.google.com/p/calendardateselect/&lt;br /&gt;&lt;br /&gt;安装:&lt;br /&gt; gem install calendar_date_select&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
项目中增加以下代码:&lt;br /&gt;
(注: 增加到 Rails::Initializer.run do |config| 代码后面)&lt;br /&gt;&lt;br /&gt; config.gem &quot;calendar_date_select&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
引用:&lt;br /&gt;&lt;br /&gt;
    &lt;%= calendar_date_select_tag &quot;companies[create_date]&quot;,&quot;&quot;, :year_range=&gt;20,:popup =&gt; :force %&gt;&lt;br /&gt;&lt;br /&gt;
但看到此插件的样式颜色实在是不好看,可以自己修改CSS FILE.&lt;br /&gt;&lt;br /&gt;
项目的&lt;br /&gt;
public\stylesheets\calendar_date_select&lt;img src=&quot;http://www1.feedsky.com/t1/326403052/miyatang/csdn.net/s.gif?r=http://blog.csdn.net/miyatang/archive/2009/07/10/4338290.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/miyatang/326403052/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/miyatang/326403052/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 10 Jul 2009 16:30:00 +0800</pubDate><author>tangmiya</author><guid isPermaLink="false">http://blog.csdn.net/miyatang/archive/2009/07/10/4338290.aspx</guid><dc:creator>tangmiya</dc:creator><fs:srclink>http://blog.csdn.net/miyatang/archive/2009/07/10/4338290.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/miyatang/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/miyatang/~7362014/326403052/5471520</fs:itemid></item><item><title>了解Scaffold Generator (转载)</title><link>http://blog.csdn.net/miyatang/archive/2009/07/03/4318132.aspx</link><description>&lt;br /&gt;了解Scaffold Generator&lt;br /&gt;“支架”“生成器”使用Rails
的动态“支架”(scaffold :somemodel)
可写出同样的代码，所以你会获得“样本代码”并且可自由地修改。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;用法: script/generate scaffold ModelName?
 ControllerName?
 [action, ...]&lt;br /&gt;通常选项:&lt;br /&gt;-p, --pretend运行但不做任何修改。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-f, --force覆写现有文件。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-s, --skip跳过现有文件。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-q, --quiet
Keep is like a secret with /dev/null.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-t, --backtrace调试：显示错误的 backtrace 
。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-h, --help显示此帮助信息。&lt;br /&gt;建议：不应该让 script/genera&lt;img src=&quot;http://www1.feedsky.com/t1/326403053/miyatang/csdn.net/s.gif?r=http://blog.csdn.net/miyatang/archive/2009/07/03/4318132.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/miyatang/326403053/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/miyatang/326403053/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 03 Jul 2009 10:26:00 +0800</pubDate><author>tangmiya</author><guid isPermaLink="false">http://blog.csdn.net/miyatang/archive/2009/07/03/4318132.aspx</guid><dc:creator>tangmiya</dc:creator><fs:srclink>http://blog.csdn.net/miyatang/archive/2009/07/03/4318132.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/miyatang/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/miyatang/~7362014/326403053/5471520</fs:itemid></item><item><title>MYSQL 设置字符集</title><link>http://blog.csdn.net/miyatang/archive/2009/06/17/4276173.aspx</link><description>&lt;br /&gt;设置数据库默认字符:&lt;br /&gt;(win : C:\WINDOWS\my.ini)&lt;br /&gt;&lt;br /&gt;default-character-set=utf8&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;建立数据库时指定字符:&lt;br /&gt;create database depot_development default character set utf8;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ruby on rails 查看当前数据库字符集:&lt;br /&gt;&lt;br /&gt;rake db:charset&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/326403054/miyatang/csdn.net/s.gif?r=http://blog.csdn.net/miyatang/archive/2009/06/17/4276173.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/miyatang/326403054/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/miyatang/326403054/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 17 Jun 2009 13:28:00 +0800</pubDate><author>tangmiya</author><guid isPermaLink="false">http://blog.csdn.net/miyatang/archive/2009/06/17/4276173.aspx</guid><dc:creator>tangmiya</dc:creator><fs:srclink>http://blog.csdn.net/miyatang/archive/2009/06/17/4276173.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/miyatang/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/miyatang/~7362014/326403054/5471520</fs:itemid></item><item><title>安装 RAILS ANNOTATE_MODELS 插件.</title><link>http://blog.csdn.net/miyatang/archive/2009/04/28/4133635.aspx</link><description>D:\rails_app\depot&gt;ruby script/plugin install http://repo.pragprog.com/svn/Public/plugins/annotate_models --forceD:\rails_app\depot&gt;rake annotate_models&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/miyatang/326403055/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/miyatang/326403055/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 28 Apr 2009 17:40:00 +0800</pubDate><author>tangmiya</author><guid isPermaLink="false">http://blog.csdn.net/miyatang/archive/2009/04/28/4133635.aspx</guid><dc:creator>tangmiya</dc:creator><fs:srclink>http://blog.csdn.net/miyatang/archive/2009/04/28/4133635.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/miyatang/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/miyatang/~7362014/326403055/5471520</fs:itemid></item></channel></rss>