t.string 不是 t.String
# File activesupport/lib/active_support/core_ext/object/blank.rb, line 12
12: def blank?
13: respond_to?(:empty?) ? empty? : !self
14: end
额。。。。
我比较倾向于管理员专门弄个后台来搞
Can't mass-assign protected attributes: attach
这个是说你的 attach 没有加到 attr_accessible 里
碉堡了。。。。。差距差距,我也要学画画!!!
windows 上请用 mysql 这个 gem,不要用 mysql2 这才是真相
看起来像日本的自杀蜻蜓
哇靠,这也能挖出来。。。
#7 楼 @xiaoronglv 从简单的开始嘛。。。不用 slim 不用 coffee 照样可以玩呀
这里的 post 会自动调用 post.to_params, 然后就相当于 post_path(post) 的效果了
又没关系,慢慢搞,这个坛子里非计算机专业但是现在搞 rails 的同学多得去了
搞姑娘
问的是在公司说
100 楼自己坐了。。。
constraints :subdomain => "api" do
scope :module => "api" do
resources :xxxxxxxxxxxxxxxxxxxxxxxxx
end
end
https://github.com/railsdog/spree-paypal-express 支付宝什么的和 paypal 比较像。 spree 自带的 payment gateway 都是那总直接扣款的,国内木有
火星你们公司的么?还是你和别人自己搞的?
不错,希望 windows 下的支持越来越好