<?xml version="1.0" encoding="gbk"?>
			<?xml-stylesheet type="text/css" href="http://rc.org.cn/css/rss.css"?>
			<rss version="2.0">
			  <channel>
			    <title>insight777的个人空间</title>
			    <link>http://rc.org.cn/?uid-953</link>
			    <description></description>
			    <copyright>Copyright(C) insight777的个人空间</copyright>
			    <generator>SupeSite/X-Space</generator>
			    <lastBuildDate>Sun, 05 Jul 2009 09:37:44 GMT</lastBuildDate><item>
								<title>第二次翻译总结</title>
								<link>http://rc.org.cn/?uid-953-action-viewspace-itemid-511</link>
								<description><![CDATA[其实第一次就该总结了，我不是很擅于写总结，不知道该用什么词恰当，总是改啊改的，最后就干脆全删了。<br>说一下两次翻译的不同吧，有了第一次的经验教训，第二次我改进了以下几点：<br>1、格式：字体和字号颜色都按照原文来，本以为这下应该没什么错了，但还是犯了几个错...]]></description>
								<category>blog</category>
								<author>insight777</author>
								<pubDate>Sat, 24 Nov 2007 20:09:35 GMT</pubDate>
							</item>
							<item>
								<title>明天就要上班了，累啊</title>
								<link>http://rc.org.cn/?uid-953-action-viewspace-itemid-444</link>
								<description><![CDATA[&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 上个周未放假了，所以明后天就得补回来，谁让我们不想连续工作7天呢，就向老板提出了这个建议，虽然假期变短了，但工作日还是照常，也不错。
			
			<div></div>
			]]></description>
								<category>blog</category>
								<author>insight777</author>
								<pubDate>Wed, 03 Oct 2007 22:48:20 GMT</pubDate>
							</item>
							<item>
								<title>我今天犯的低级错误</title>
								<link>http://rc.org.cn/?uid-953-action-viewspace-itemid-433</link>
								<description><![CDATA[今天弄了几个问题，总是出错，后来叫同事帮助才发现，错误很简单，但我就是没发现：<br>1 、错误语句：SELECT id FROM products p where option1!=""or option2!="" or option3!="" group by id<br>应该改为：<br>SELECT id FROM products p where option1!='' or option2...]]></description>
								<category>blog</category>
								<author>insight777</author>
								<pubDate>Tue, 25 Sep 2007 11:35:02 GMT</pubDate>
							</item>
							<item>
								<title>今天学到的070918</title>
								<link>http://rc.org.cn/?uid-953-action-viewspace-itemid-429</link>
								<description><![CDATA[<font size="4"><span style="font-family: 黑体;">
			今天弄懂了两个问题：</span><br style="font-family: 黑体;"><span style="font-family: 黑体;">一个是提取参数，如：params=commit,Update The Choice,action,update,</span><br style="font-family: 黑体;"><spa...]]></description>
								<category>blog</category>
								<author>insight777</author>
								<pubDate>Tue, 18 Sep 2007 10:18:27 GMT</pubDate>
							</item>
							<item>
								<title>工作进行不下去了</title>
								<link>http://rc.org.cn/?uid-953-action-viewspace-itemid-425</link>
								<description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 今天老板又安排了新的任务，但遇到很多困难，老板眼睛做手术了，厉害的同事又没来，想去论坛又不知道该如何问，自己也想不出来，真是没法做下去了，郁闷啊！<img src="http://rc.org.cn/images/edit/face/033.gif">
			
			<div></div>
			]]></description>
								<category>blog</category>
								<author>insight777</author>
								<pubDate>Mon, 17 Sep 2007 14:04:40 GMT</pubDate>
							</item>
							<item>
								<title>ActiveRecord[九]：删除记录</title>
								<link>http://rc.org.cn/?uid-953-action-viewspace-itemid-410</link>
								<description><![CDATA[1、用delete()类方法,接受一个id或id数组作为参数，然后删除对应的记录。若指定的记录不存在，则会抛出异常，如：<br>Order.delete(123)<br>User.delete([2,3,4,5])<br>2、用delete_all()对象方法，删除指定条件的所有记录，如果没指定条件则删除所有的记录，如：<br>Prod...]]></description>
								<category>blog</category>
								<author>insight777</author>
								<pubDate>Fri, 14 Sep 2007 13:40:39 GMT</pubDate>
							</item>
							<item>
								<title>ActiveRecord[八]：数据的更新</title>
								<link>http://rc.org.cn/?uid-953-action-viewspace-itemid-409</link>
								<description><![CDATA[<font size="4">1、用save()方法，将记录中的所有字段都更新，如：<br>order = Order.find(123)<br>order.name = "Fred"<br>order.save&nbsp; #不只更新name属性，会将order对象的所有属性都更新，即使这些属性没有发生变化<br>2、要更新一个对象，用find_by_sql取出要更新...]]></description>
								<category>blog</category>
								<author>insight777</author>
								<pubDate>Fri, 14 Sep 2007 13:18:22 GMT</pubDate>
							</item>
							<item>
								<title>ActiveRecord[七]：其它查询方法</title>
								<link>http://rc.org.cn/?uid-953-action-viewspace-itemid-405</link>
								<description><![CDATA[1、统计记录数：有count()和count_by_sql()方法,如：<br>c1=Order.count&nbsp; #统计所有记录数<br>c2=Order.count(["name=?","Dave"])&nbsp; #统计符合条件的记录数<br>c3=LineItem.count_by_sql("select count(*) from orders where name='Dave'")&nbsp; #参数为SQL查询...]]></description>
								<category>blog</category>
								<author>insight777</author>
								<pubDate>Wed, 12 Sep 2007 11:56:13 GMT</pubDate>
							</item>
							<item>
								<title>ActiveRecord[六]：find_by_sql()方法</title>
								<link>http://rc.org.cn/?uid-953-action-viewspace-itemid-404</link>
								<description><![CDATA[<font size="4">1、接受完整的SQL select语句作为参数，并返回根据结果集创建的模型对象数组（可能为空），每个模型对象的属性会被设为对应记录的对应字段值<br>2、返回的结果对象只包含查询语句中指定的属性，可以用一些方法来查询模型对象拥有哪些属性，具体方法如下：<...]]></description>
								<category>blog</category>
								<author>insight777</author>
								<pubDate>Wed, 12 Sep 2007 11:09:02 GMT</pubDate>
							</item>
							<item>
								<title>ActiveRecord[五]：find()方法</title>
								<link>http://rc.org.cn/?uid-953-action-viewspace-itemid-403</link>
								<description><![CDATA[1、:all找出所有符合条件的记录<br>2、:first找出符合条件的一条记录，不一定是应用程序创建的第一条记录<br>3、:conditions指定SQL语句中的where子句的查询条件，其值可以是一个SQL字符串；也可以是一个数组，其中包含带有占位符的SQL语句，以及各个占位符实际的值。如：...]]></description>
								<category>blog</category>
								<author>insight777</author>
								<pubDate>Wed, 12 Sep 2007 09:26:45 GMT</pubDate>
							</item>
							
		</channel>
	</rss>