Nexus Weblogging
ChinaonRails
You are here ChinaonRails > Ruby on Rails > > 窥rails3 早体验之

bd7lx


58.125%

disconnected
登录后回复主题 | 跳到回复(27)

窥rails3 早体验之

... by bd7lx ... 1 月 22 天前 ... 737 次点击

http://chinaonrails.com/topic/view/2959.html

讨论了rails3从不确定性的特性走向实际的过程

越来越多上手体验升级到rails3pre

http://omgbloglol.com/post/344792822/the-path-to-rails-3-introduction



rails3的模样,图画big pictures也越来越清晰

textmate 准备好,您呢?
http://darwinweb.net/articles/81

Tm_syntax_highlighting Plugin Updated for Rails 3


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
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
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.

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

还有可以有条件的执行验证
14 - 2-8 15:50
bd7lx 楼主 深圳
http://litanyagainstfear.com/blog/2010/02/03/the-rails-module/

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.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
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
20 - 2-23 8:33
bd7lx 楼主 深圳
http://www.lycom.de/past/2010/2/17/2010-02-17-rails-command/

Rails3世界:使用新的命令rails(五)
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.
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
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日前完成
26 - 3-8 9:47
bd7lx 楼主 深圳
http://ihower.tw/blog/archives/3917


在 Rails3 中使用 jQuery
by ihower
看完之后有话想说?那就帮楼主加盖一层吧!

在回复之前你需要先进行登录
电子邮件或昵称
密码

© 2006-2010 A Jesse Cai Production   -   About   -   京ICP备07020911号
a site powered by Project Babel