Home > dev-ruby

dev-ruby

Dev-ruby is a project mainly written in RUBY and JAVASCRIPT, it's free.

ruby-dev translation

dev-ruby

dev-ruby provides community translation of ruby-dev, the Japanese mailing list of Ruby interpreter development.

Design

Model

Related to posts (mails)

  • Post

    • Integer number
    • String subject, from, body
    • Datetime time
    • Post forms trees with help of has_ancestry.
      • post.parent : parent post
      • post.root : root of the topic (tree of post)
      • post.root.topic : topic which post belongs to
  • Topic

    • String subject
    • Datetime last_update
    • topic.root : a post

Topic caches the time of the latest mail in the tree. Topic is automatically created when new post is created. topic.last_update is automatically updated when new post is added.

Related to translations

  • Translation

    • Text body
    • Datetime created_at
    • translation.post : the original post
  • TranslationRequest

    • Datetime created_at, updated_at
    • translation_request.user : a user
    • translation_request.post : a post

Related to users

  • User

    • String name, timezone, profile_image_url
    • Datetime created_at, updated_at
    • user.accounts : list of accounts
  • Account

    • String provider, uid, name

URL

  • /users Create[login]

  • /user/:id Read Update[login] Delete[login]

  • /mails Index Create[admin]

  • /mail/:id Read

  • /mail/:id/request Create[login] Delete[login]

  • /mail/:id/translation Create[login] Update[login]