Rails 2.0: Scaffold》的相关内容

rails2.0 以后的Scaffold怎么用?

本人初学,发现Scaffold在2.0以后被废除了.那么怎么生成脚手架呢?
by xl45591275 2007-12-31 浏览 (5595) 回复 (19) 关键字:

Rails插件: Restful Authentication 实践

    Rails插件: Restful Authentication 提供用户管理和认证的功能,还有一个可选的邮件激活功能 插件安装命令 script/plugin install http://svn.techno-weenie.net/projects/plugins/restful_authentication/ 运行上面的命令后,命令行产生的信息如下,估 ...
by C lei 2008-10-03 浏览 (92) 回复 (0) 关键字: rails插件 restful authentication

Rails的怪异作法 -- 关于config

说ruby是怪异的语法有点不妥当,动态语言里面不乏这样的语法出现。但是看了一些源码后发现,使用ruby的用法真的各有不同,就像大家以前说的,ruby每个人写出来的可能都不同。 现来说Rails里面如何加载config的吧。 在java里面config绝对是一个resource文件,然后通过读取配置的工具加入进来,在分析处理。 在ROR里面完全不是这么回事。 1.首先大家要了解的是,在我们启 ...
by 差沙 2006-11-21 浏览 (8846) 回复 (19) 关键字:

rails2.02快速体验

如果是windows下的用户,而又不是使用instant Rail,那么需要进行以下步骤。1、下载sqlite的exe和dll文件,然后将其放入系统path。(有些linux发行版本默认安装了sqlite,无需再次安装)2、确定你下载的sqlite版本,如果是sqlite3(注意放入path目录的文件应该保持的sqlite3.exe和sqlite3.dll,不要改名为sqlite.exe和sqli ...
by ozzzzzz 2008-01-09 浏览 (5202) 回复 (18) 关键字:

Depot Sample in Rails 2.0, Step 1

Depot for MySQL5.0, Rails2.0 in WindowXP, # means comments, Hope you can enjoy it. Objective: To build the basic skeleton of depot 1. create depot rails project rails depot 2. edit config/databa ...
by sam0411 2008-06-24 浏览 (587) 回复 (2) 关键字: depot, rails2.0

Depot Sample in Rails 2.0, Step 1

Depot for MySQL5.0, Rails2.0 in WindowXP, # means comments, Hope you can enjoy it. Objective: To build the basic skeleton of depot 1. create depot rails project rails depot 2. edit config/databa ...
by sam0411 2008-06-24 浏览 (225) 回复 (2) 关键字: depot, rails2.0

每天一剂Rails良药之scaffolding

对于如下代码: class WeblogController < ActionController::Base scaffold :entry end 这将生成如下代码: class WeblogController < ActionController::Base verify :method => :post, \:only => [ :destroy ...
by hideto 2007-06-11 浏览 (1313) 回复 (0) 关键字: Rails scaffolding

Notes of Depot, 1

About learning the sample of Depot in AWDWR version 2. Troubles occured as bellow: 1.Developing Environment.It's easy and convenient for people  to begin an amazing trip of learning ror, since bo ...
by yorzi 2008-01-22 浏览 (113) 回复 (0) 关键字: ruby on rails, depot

(转)Rolling with Ruby on Rails, Part 2 (onlamp.com)

Are you ready? Let's begin! Updating Ruby on Rails When I wrote Part 1, the current version of Rails was 0.9.3. At the time of this writing, Rails is up to version 0.10.0 and has some useful new featu ...
by lzj520 2006-11-04 浏览 (17) 回复 (0) 关键字:

(转)Creating a Ruby Weblog in 10 Minutes

Creating a Ruby Weblog in 10 Minutes Contributed by Brian Leonard June 2007 [Revision number: V6.0-2]     ...
by xingshaomin 2007-09-03 浏览 (323) 回复 (0) 关键字:

这个小男孩真阴险呀,杀人于无形中

这是一个小孩杀人的故事,有耐心的八婆们慢慢看吧。整个故事从头到尾都阴森森冷飕飕的,虽然杀人在最后一部分才有写,可是自始至终都很阴郁。 BLACK ICE by CATE KENNEDY      When I went up to check my traps, I saw that the porch lights at the lady’s place were still on, even ...
by mochow 2006-11-30 浏览 (882) 回复 (8)

Hillary's Speech on Suspending the Campaign

非常出色感人的演讲,增强英语听力信心的好材料。 Hillary's Speech on Suspending the Campaign 以下为讲话原文,现场视频在http://www.youtube.com/watch?v=Lm5hQDFfRvA Thank you very, very much. Well, this isn't exactly the party I ...
by swflora 2008-07-10 浏览 (301) 回复 (0)

提高上网速度

这几天用ubuntu上网特慢,发现在解析DNS时基本卡住,搜索了一下找到了一个解决办法。    通过设置DNS缓存来提高上网速度,我自己试过了,确实是解决了我的问题。 ------------------------------------- 转载地址 url: http://forum.ubuntu.org.cn/viewtopic.php?t=22361&hig ...
by aihua 2007-02-23 浏览 (4415) 回复 (9)

Action english

Action english 是CCTV-SIX 的一个英语节目,感觉很不错
by youlong05 2007-04-23 浏览 (1446) 回复 (5)

邮件列表中已经开始讨论release tapestry5.0.1

作者mail I think I'm just a couple of hours away from releasing a preview release of T5. It's far from complete, but what it does is quite solid and useable, and I'd love to get some it out on the gene ...
by tapestry 2007-02-02 浏览 (661) 回复 (1)

Martin Flower分析Groovy和JRuby的前景

Martin Flower最近在自己的网站上面写了一篇分析Groovy和JRuby前景的文章: http://martinfowler.com/bliki/GroovyOrJRuby.html Groovy和JRuby是两个目前在JVM平台上面关注程度非常高的动态脚本语言,他们都比较适合用来做为领域专用语言(DSL)嵌入Java企业应用当中。而且目前Groovy和JRuby的发展都相当迅速,社 ...
by robbin 2007-12-09 浏览 (3995) 回复 (13) 关键字: groovy jruby

NetBeans6.5 M1 众多期待的特性一览表!

NetBeans6.5 M1 众多期待的特性一览表! Netbeans 6.5 M1 已经发布,最新版本的NetBeans 增强了许多功能,同时也引入了许多值得期待的新特性. 其中我比较喜欢的是DataBase 的改进,Eclipse 项目导入变得比以前更方便了,可以正确的区分Web项目 和普通项目,还有Spring   Hibernate 增强. GUI 中新增了JD ...
by gml520 2008-06-25 浏览 (4453) 回复 (16) 关键字: netbeans 6.5 m1

5个很酷的Adobe AIR应用

Adobe AIR能够提供优秀的界面,而且不那么消耗内存。如果你还没有安装Adobe AIR,你能从这里下载: Adobe’s website我们向你推荐一些Adobe AIR应用的优秀网站:1。COLOURlovers 这是一个优秀的颜色配置网站,你可以自由选择颜色,调色版和模式。 If you always find yourself on COLOURlovers looki ...
by QQbyte 2008-06-09 浏览 (1633) 回复 (0) 关键字:

相关问答

赞助商链接