![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ROR
wangfang_0728
这个作者很懒,什么都没留下…
展开
-
overwrite attribute in model
def tester=(value) write_attribute(:tester,value.upcase) end def tester read_attribute(:tester) end原创 2009-01-08 16:11:00 · 388 阅读 · 0 评论 -
ROR 相关资料
ROR 网站 http://www.rubyonrails.org/ http://rubyonrails.org.tw/ http://wiki.rubyonrails.org/railsROR APIs http://api.rubyonrails.org/Ruby LDAP http://www.rich-waters.com/blog/2007/02/usin原创 2009-01-13 13:31:00 · 382 阅读 · 0 评论 -
ror 解析xml
http://www.germane-software.com/software/rexml/docs/tutorial.html转载 2008-12-10 16:30:00 · 268 阅读 · 0 评论 -
ActionController::InvalidAuthenticityToken
ActionController::InvalidAuthenticityToken 异常一般出现出现在手写的html form 标签和Ajax请求中,为什么会出现这个异常呢,这是从rails 2.0 开始包含的一个新功能,目的在于防止CSRF(Cross-Site Request Forgery)攻击.rails 为了保证当前的请求是来自自己的请求,而不是通过其他网站伪造的请求,都会在生成的f转载 2009-03-21 10:50:00 · 901 阅读 · 0 评论