[logaling-commit] logaling/logaling-server [github-project-related-to-user] oops

Zurück zum Archiv-Index

SUZUKI Miho null+****@clear*****
Fri Sep 21 14:46:25 JST 2012


SUZUKI Miho	2012-09-21 14:46:25 +0900 (Fri, 21 Sep 2012)

  New Revision: 6257d0788cef576d2e2b9cfd33e0ef8caafb01a5
  https://github.com/logaling/logaling-server/commit/6257d0788cef576d2e2b9cfd33e0ef8caafb01a5

  Merged 971b851: Merge pull request #14 from logaling/prioritize-the-search

  Log:
    oops

  Added files:
    app/models/user_config.rb
    db/migrate/20120921054114_create_user_configs.rb

  Added: app/models/user_config.rb (+3 -0) 100644
===================================================================
--- /dev/null
+++ app/models/user_config.rb    2012-09-21 14:46:25 +0900 (3e81e07)
@@ -0,0 +1,3 @@
+class UserConfig < ActiveRecord::Base
+  attr_accessible :glossary, :source_language, :target_language
+end

  Added: db/migrate/20120921054114_create_user_configs.rb (+10 -0) 100644
===================================================================
--- /dev/null
+++ db/migrate/20120921054114_create_user_configs.rb    2012-09-21 14:46:25 +0900 (a9d84e5)
@@ -0,0 +1,10 @@
+class CreateUserConfigs < ActiveRecord::Migration
+  def change
+    create_table :user_configs do |t|
+      t.string :glossary
+      t.string :source_language
+      t.string :target_language
+      t.timestamps
+    end
+  end
+end
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



More information about the logaling-commit mailing list
Zurück zum Archiv-Index