![]() bd7lx 56.126% disconnected | 登录后回复主题 | 跳到回复(40)
|
3 - 1-29 10:03
bd7lx 楼主 深圳http://cardarella.blogspot.com/2010/01/rails-2-rails-3-side-by-side.html
幻灯片
http://www.slideshare.net/kuahyeow/rails-3-cool-new-things
幻灯片
http://www.slideshare.net/kuahyeow/rails-3-cool-new-things
4 - 1-29 14:08
bd7lx 楼主 深圳http://omgbloglol.com/post/359147788/rails-upgrade-automating-a-portion-of-the-rails-3
http://github.com/jm/rails-upgrade
http://github.com/jm/rails-upgrade
7 - 2-1 17:20
bd7lx 楼主 深圳http://omgbloglol.com/post/364624593/rails-upgrade-is-now-an-official-plugin
To use it now, simply install the plugin:
script/plugin install git://github.com/rails/rails_upgrade.git
The plugin adds the following tasks:
rake rails:upgrade:check # Runs a battery of checks on your Rails 2.x app
# and generates a report on required upgrades for Rails 3
rake rails:upgrade:gems # Generates a Gemfile for your Rails 3 app out of your config.gem directives
rake rails:upgrade:routes # Create a new, upgraded route file from your current routes.rb
script/plugin install git://github.com/rails/rails_upgrade.git
The plugin adds the following tasks:
rake rails:upgrade:check # Runs a battery of checks on your Rails 2.x app
# and generates a report on required upgrades for Rails 3
rake rails:upgrade:gems # Generates a Gemfile for your Rails 3 app out of your config.gem directives
rake rails:upgrade:routes # Create a new, upgraded route file from your current routes.rb
8 - 2-2 11:13
bd7lx 楼主 深圳http://blog.peepcode.com/tutorials/2010/live-coding-rails-3-upgrade
视频25分钟
不到100mb
converted a Rails 2.x app to Rails 3.0.

视频25分钟
不到100mb
converted a Rails 2.x app to Rails 3.0.

10 - 2-4 14:13
bd7lx 楼主 深圳http://lindsaar.net/2010/1/31/validates_rails_3_awesome_is_true
验证方法上出奇之处
可以跟参数 an attribute, followed by a hash of validation options.
validates_with 任何类(比如放到lib里的)只要
class HumanValidator < ActiveModel::Validator
还有可以有条件的执行验证
验证方法上出奇之处
可以跟参数 an attribute, followed by a hash of validation options.
validates_with 任何类(比如放到lib里的)只要
class HumanValidator < ActiveModel::Validator
还有可以有条件的执行验证
14 - 2-8 15:50
bd7lx 楼主 深圳http://litanyagainstfear.com/blog/2010/02/03/the-rails-module/
Rails.class
Railties now deprecates:
RAILS_ROOT in favour of Rails.root,
RAILS_ENV in favour of Rails.env, and
RAILS_DEFAULT_LOGGER in favour of Rails.logger.
RAILS_ROOT in favour of Rails.root,
RAILS_ENV in favour of Rails.env, and
RAILS_DEFAULT_LOGGER in favour of Rails.logger.
Rails.class
17 - 2-12 13:21
bd7lx 楼主 深圳http://blog.js.hu/2010/02/06/getting-familiar-with-rails-3/
rubygems 版本得 1.3.5
Second issue: shallow nesting
It seems rails 3.0.0.beta doesn’t have support for shallow nesting. Or at least the new native implementation doesn’t contain it. The funniest part is it seems nobody cares about it.
还有蹦豁牙的插件们
http://chinaonrails.com/topic/view/3717.html
rubygems 版本得 1.3.5
Second issue: shallow nesting
It seems rails 3.0.0.beta doesn’t have support for shallow nesting. Or at least the new native implementation doesn’t contain it. The funniest part is it seems nobody cares about it.
还有蹦豁牙的插件们
http://chinaonrails.com/topic/view/3717.html
18 - 2-17 9:57
bd7lx 楼主 深圳http://omgbloglol.com/post/392895742/improved-validations-in-rails-3
http://demos.usejquery.com/ketchup-plugin/
Ketchup - jQuery plugin for forms validation.
http://demos.usejquery.com/ketchup-plugin/
Ketchup - jQuery plugin for forms validation.
19 - 2-17 16:57
bd7lx 楼主 深圳http://blog.xdite.net/?p=1526
Rails3 架構與進展 Part.2 - model
Rails3 架構與進展 Part.2 - routes
http://blog.xdite.net/?p=1509
Rails3 架構與進展 Part.2 - model
Rails3 架構與進展 Part.2 - routes
http://blog.xdite.net/?p=1509
23 - 2-26 8:14
bd7lx 楼主 深圳http://railscasts.com/episodes/202-active-record-queries-in-rails-3
Rails 3 introduces a new query interface for performing finds in Active Record. See how it works along with the changes in named scopes.
Rails 3 introduces a new query interface for performing finds in Active Record. See how it works along with the changes in named scopes.
24 - 3-1 10:58
bd7lx 楼主 深圳http://www.dev-fr.com/archives/2010/02/27/rails-3-let-activerecord-manage-your-translations/
Rails 3 开创新时代,把翻译放在数据库里存ActiveRecord-baked database.
参考上面9楼
http://chinaonrails.com/topic/view/2644.html
Rails 3 开创新时代,把翻译放在数据库里存ActiveRecord-baked database.
参考上面9楼
http://chinaonrails.com/topic/view/2644.html
25 - 3-2 10:27
bd7lx 楼主 深圳接上帖
http://nextsprocket.com/tasks/gettext-on-rails-3-0-0-beta
可能完成的任务
Create a fully functional multilingual demo app with Rails 3.0.0.beta using gettext for i18n.
在3月23日前完成
http://nextsprocket.com/tasks/gettext-on-rails-3-0-0-beta
可能完成的任务
Create a fully functional multilingual demo app with Rails 3.0.0.beta using gettext for i18n.
在3月23日前完成
29 - 3-24 8:30
bd7lx 楼主 深圳http://www.ibm.com/developerworks/web/library/wa-introrails3/index.html?ca=drs-
All aboard! An introduction to Rails 3
刊载于IBM的开发网 可下载pdf
All aboard! An introduction to Rails 3
刊载于IBM的开发网 可下载pdf
30 - 3-30 8:57
bd7lx 楼主 深圳http://www.viget.com/extend/rails-3-generators-hooks/
Rails 3 generator API 可提供自定义的generator通过钩子或插件
比如用 mongomapper generator 替代缺省的active_record generator 来生成自定义的模型代码
Rails 3 generator API 可提供自定义的generator通过钩子或插件
比如用 mongomapper generator 替代缺省的active_record generator 来生成自定义的模型代码
33 - 4-3 17:07
阿昭 地球我也来为楼主添加一些
在mac上使用rails3
用这个
http://bitnami.org/stack/rubystack
下载:
http://bitnami.org/files/stacks/rubystack/2.0-3/bitnami-rubystack-2.0-3-osx-x86-installer.app.zip
mac上基本这个最好用了
在mac上使用rails3
用这个
http://bitnami.org/stack/rubystack
下载:
http://bitnami.org/files/stacks/rubystack/2.0-3/bitnami-rubystack-2.0-3-osx-x86-installer.app.zip
mac上基本这个最好用了
34 - 4-20 10:38
bd7lx 楼主 深圳http://blog.wetherubyists.com/post/533440060/unobtrusive-ajax-with-rails-3
Unobtrusive Ajax with Rails 3
http://www.tricksonrails.com/2010/04/rails3-and-will_paginate-doing-easy-remote-links-rails3-tricks-02/
Rails3 And Will_paginate, Doing Easy Remote Links – Rails3 Tricks #02
Unobtrusive Ajax with Rails 3
http://www.tricksonrails.com/2010/04/rails3-and-will_paginate-doing-easy-remote-links-rails3-tricks-02/
Rails3 And Will_paginate, Doing Easy Remote Links – Rails3 Tricks #02
37 - 6-8 9:37
bd7lx 楼主 深圳http://www.stjhimy.com/posts/4
用rvm装同一ruby版本下的不同版本rails
Using RVM GEMSETS to manage multiple rails installations in the same ruby version
http://bcardarella.com/post/699582642/rvm-gemsets-bundler-awesome
用rvm装同一ruby版本下的不同版本rails
Using RVM GEMSETS to manage multiple rails installations in the same ruby version
http://bcardarella.com/post/699582642/rvm-gemsets-bundler-awesome
38 - 7-6 8:36
bd7lx 楼主 深圳http://blog.plataformatec.com.br/2010/07/new-active-record-scoping-syntax
留意即将过期的参数
http://chinaonrails.com/topic/view/3550.html
留意即将过期的参数
In short, passing options hash containing :conditions, :include, :joins, :limit, :offset, :order, :select, :readonly, :group, :having, :from, :lock to any of the ActiveRecord provided class methods, is now deprecated.
.http://chinaonrails.com/topic/view/3550.html
39 - 8-3 10:25
bd7lx 楼主 深圳接承37楼
Simple alias for changing to the current RVM Gemset directory
别名cdgems
Stick this in your .bash_profile and run 'cdgems' if you're using RVM. It will open a new terminal tab and cd to the correct directory.
http://gist.github.com/499070
Simple alias for changing to the current RVM Gemset directory
别名cdgems
Stick this in your .bash_profile and run 'cdgems' if you're using RVM. It will open a new terminal tab and cd to the correct directory.
http://gist.github.com/499070
function cdgems() {
/usr/bin/osascript -e "tell application \"System Events\" to tell process \"Terminal\" to keystroke \"t\" using command down"
/usr/bin/osascript -e "tell application \"Terminal\" to do script with command \"cd $GEM_HOME/gems\" in window 1"
/usr/bin/osascript -e "tell application \"System Events\" to tell process \"Terminal\" to keystroke \"k\" using command down"
return 0
}
alias cdgems=cdgems
/usr/bin/osascript -e "tell application \"System Events\" to tell process \"Terminal\" to keystroke \"t\" using command down"
/usr/bin/osascript -e "tell application \"Terminal\" to do script with command \"cd $GEM_HOME/gems\" in window 1"
/usr/bin/osascript -e "tell application \"System Events\" to tell process \"Terminal\" to keystroke \"k\" using command down"
return 0
}
alias cdgems=cdgems
40 - 8-6 11:20
bd7lx 楼主 深圳http://www.stjhimy.com/posts/10-five-quick-steps-to-set-up-rvm-with-rails-2-and-rails3
rvm利用gemset做 2 3切换
$ rvm use 1.8.7@rails2
$ rails -v
Rails 2.3.5
Switching to rails 3:
$ rvm use 1.8.7@rails3
$ rails -v
Rails 3.0.0.rc
rvm利用gemset做 2 3切换
$ rvm use 1.8.7@rails2
$ rails -v
Rails 2.3.5
Switching to rails 3:
$ rvm use 1.8.7@rails3
$ rails -v
Rails 3.0.0.rc
回到顶部 | Rails | 返回 ChinaonRails 首页 | 注册 | 找回密码












