Rails
文章平均质量分 54
paulguozy
这个作者很懒,什么都没留下…
展开
-
Rails 文件夹的用途
Gemfile该文件允许你指定你程序所需要的gem (比如你用到了mysql数据库, 你需要在这里指定 gem "mysql").README你的应用程序大体说明. 用这个来告诉他人该程序是干什么的, 等等.Rakefile该文件包含了一系列可以在终端运行的命令.app/包含了应用程序的控制器,模型,以及视图. 在本教转载 2013-09-07 22:16:41 · 765 阅读 · 0 评论 -
使用rails的generate
在控制台中运行gem install mysql原创 2013-09-02 22:59:55 · 613 阅读 · 0 评论 -
rails常用命令
1.rails new demo2.cd demo3.rails generate controller Say hello goodbye生成一个控制器say和两个页面hello与goodbye4. rails server5.Rails g scaffold Product title:string description:text创建数据库中的表结构表名: Pro转载 2013-09-05 13:42:46 · 534 阅读 · 0 评论 -
jquery-ui-rails
jquery-ui-railsThis gem packages the jQuery UI 1.10.0 assets (JavaScripts, stylesheets, andimages) for the Rails 3.1+assetpipeline, so you never haveto download a custom package through th转载 2013-10-05 22:27:45 · 923 阅读 · 0 评论 -
Metro UI for Rails 3.1
https://github.com/mangege/metro-ui-rails-cnMetro UI for Rails 3.1 Asset PipelineThis gem integrates Metro-UI-CSS toolkit into Rails 3.1 Asset Pipeline.InstallationAdd this line to y转载 2013-09-21 17:10:13 · 674 阅读 · 0 评论