文章分类

Blog

Rails 中的多对多关联数据表

少于 1 分钟阅读

多对多关联,是 Rails 中相对复杂的一种关系表。为了便于管理,往往都会创建一个 中间表,用来记录关联表之间的关系。

Rails Migration 中的数据类型

1 分钟阅读

ActiveRecord 是 Rails 重要的组件之一,也是 Rails 的重要特色。它抽象化了数据的 管理,使用户可以不懂 SQL 而操作数据库。Migration 就是 Rails 驱动数据库操作数 据库的重要 ActiveRecord 工具。

Post: Link Permalink

少于 1 分钟阅读

This theme supports link posts, made famous by John Gruber. To use, just add link: http://url-you-want-linked to the post’s YAML front matter and you’re done.

Post: Quote

少于 1 分钟阅读

Only one thing is impossible for God: To find any sense in any copyright law on the planet. Mark Twain

Post: Notice

1 分钟阅读

A notice displays information that explains nearby content. Often used to call attention to a particular detail.

Post: Chat

2 分钟阅读

Abbott: Strange as it may seem, they give ball players nowadays very peculiar names.

Post: Standard

4 分钟阅读

All children, except one, grow up. They soon know that they will grow up, and the way Wendy knew was this. One day when she was two years old she was playing...

Post: Modified Date

少于 1 分钟阅读

This post has been updated and should show a modified date if used in a layout.

返回顶部 ↑

kramdown

kramdown (下)

少于 1 分钟阅读

Span 行内级元素——文字修饰器

kramdown(上)

4 分钟阅读

kramdown 不是 markdown,是对 markdown 的 基于 Ruby 语言的重写和扩展!

返回顶部 ↑

blog

一个命令生成自己的网志

少于 1 分钟阅读

Rails 是以 Gem 形式发布的,所以在安装好 Ruby 以后,就已经安装了 Gem 管理系统。再安装 Rails 就比较简单了。

Welcome to Jekyll!

少于 1 分钟阅读

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different wa...

返回顶部 ↑

jekyll

返回顶部 ↑

chinese

返回顶部 ↑

css

返回顶部 ↑

rdoc

返回顶部 ↑