rails
iteye_4919
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
use Rails.root instead RAILS_ROOT in rake task for Rails 3
I was getting this error running the rake db:data:load task: uninitialized constant Rails::DeprecatedConstant::Rails, reading the rails 3 changelog I get realized about this Railties now de...原创 2011-09-21 22:42:32 · 201 阅读 · 0 评论 -
undefined method ‘paginate’ for Array (will_paginate 3.0)
If you ever find this problem (Github Issue) you should know that WillPaginate 3.0 isn’t backwards compatible. This also is tightly coupled with the new Active Record implementation (Now it retur...原创 2011-09-23 16:24:59 · 149 阅读 · 0 评论 -
讨厌的Devket安装
http://wuhuizhong.iteye.com/blog/875493原创 2011-10-08 14:46:41 · 135 阅读 · 0 评论 -
Rails 3+之后支持的validate整合写法
在 Rails3 之後支援以下的整合寫法: validates :name, :presence => true, :length => {:minimum => 1, :maximum => 254} validates :email, :presence => true, ...原创 2011-10-19 14:13:42 · 105 阅读 · 0 评论 -
rails3.1-invalid multibyte char (US-ASCII)
# Load the rails application# encoding: utf-8require File.expand_path('../application', __FILE__)# Initialize the rails applicationReview::Application.initialize!WillPaginate::ViewHelpers.p...原创 2011-10-28 22:52:17 · 253 阅读 · 0 评论
分享