we_bridge_rails_engine_orgs 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3bfc15e43f5af938f9e00bced665cd13335c5b6
4
- data.tar.gz: 649cb1ed0c99e6565bfe92a415b51f0c5cd0941c
3
+ metadata.gz: 56d4b90dbd21685a0ed9835dd2d04b1a343fcf9b
4
+ data.tar.gz: 7354e5f72ca0c1c2ef2bf06e31141e7389d33457
5
5
  SHA512:
6
- metadata.gz: 74f231bcfd4fb6106da2e3037d30806835ba2e93f253275335ef8305f0fa5984c6ed68171cb8df6a63c7bb214b77733851b6fbcf98b83ede70608390bf8a9427
7
- data.tar.gz: ccc0bf002249c5f12807c0ff907c5c219c352869ace7587af9f08ce638bc09be761d58099351364f202cafdb7e50d1c4b2de3590272d61434477ef0ec8aceb9a
6
+ metadata.gz: 328e502c7ca42ff1ae3f27b2df5059ddebb3ceae7f0ad5b9ebfc6994678d0825fae6cc2e9c18403995104785727b9d9f969bc486ee0a4ee6763cade7315327ed
7
+ data.tar.gz: cccc72c5002815ed2b99d67bb1f8e45136279bbb2901752251faad523c4b9f8dc1ec464c7a44fa124d91541a5509c01ceb165151b41f4f8d4028fe0715bd959a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- we_bridge_rails_engine_orgs (0.1.3)
4
+ we_bridge_rails_engine_orgs (0.1.4)
5
5
  actionview-helpers-auto_tag_helper
6
6
  activerecord-mlang
7
7
  we_bridge-auto_view_helper
@@ -204,7 +204,7 @@ GEM
204
204
  rails (>= 3)
205
205
  we_bridge-html_builder (0.1.7)
206
206
  nokogiri
207
- we_bridge_rails_engine_langs (0.1.6)
207
+ we_bridge_rails_engine_langs (0.1.7)
208
208
  actionview-helpers-auto_tag_helper
209
209
  activerecord-mlang
210
210
  rails (~> 4.2.3)
data/app/models/org.rb CHANGED
@@ -2,6 +2,10 @@ require 'action_view/helpers/auto_tag_helper/form_info'
2
2
  require 'activerecord/mlang'
3
3
  class Org < ActiveRecord::Base
4
4
  belongs_to :lang
5
+ has_many :director_types, class_name: "OrgDirectorType"
6
+ has_many :directors, through: :director_types
7
+ has_many :members, class_name: "OrgMember"
8
+ has_many :member_tags, class_name: "OrgMemberTag"
5
9
  include ActiveRecord::Mlang
6
10
  include ActionView::Helpers::AutoTagHelper::FormInfo
7
11
  set_accessible_attrs :lang_id, :email,:url,:domain,:started_on,:post_number,:tel
@@ -2,6 +2,7 @@ require 'action_view/helpers/auto_tag_helper/form_info'
2
2
  require 'activerecord/mlang'
3
3
  class OrgDirectorType < ActiveRecord::Base
4
4
  belongs_to :org
5
+ has_many :directors, class_name: "OrgMember"
5
6
  include ActiveRecord::Mlang
6
7
  include ActionView::Helpers::AutoTagHelper::FormInfo
7
8
  set_accessible_attrs :position, :limit
@@ -3,8 +3,10 @@ require 'activerecord/mlang'
3
3
  class OrgMember < ActiveRecord::Base
4
4
  belongs_to :org
5
5
  belongs_to :lang
6
- belongs_to :org_director_type
7
- belongs_to :org_member_type
6
+ belongs_to :director_type , class_name: "OrgDirectorType"
7
+ belongs_to :member_type , class_name: "OrgMemberType"
8
+ has_many :member_tag_mappings, class_name: "OrgMemberTagMapping"
9
+ has_many :tags, through: :member_tag_mappings, source: :org_member_tag
8
10
 
9
11
  include ActiveRecord::Mlang
10
12
  include ActionView::Helpers::AutoTagHelper::FormInfo
@@ -2,6 +2,9 @@ require 'action_view/helpers/auto_tag_helper/form_info'
2
2
  require 'activerecord/mlang'
3
3
  class OrgMemberTag < ActiveRecord::Base
4
4
  belongs_to :org
5
+ has_many :member_tag_mappings, class_name: "OrgMemberTagMapping"
6
+ has_many :members, through: :member_tag_mappings, source: :org_member
7
+
5
8
  include ActiveRecord::Mlang
6
9
  include ActionView::Helpers::AutoTagHelper::FormInfo
7
10
 
@@ -1,5 +1,7 @@
1
1
  class OrgMemberTagMapping < ActiveRecord::Base
2
- belongs_to :org_member
3
- belongs_to :org_member_tag
2
+ belongs_to :org_member , class_name: "OrgMember"
3
+ def member() self.org_member; end
4
+ belongs_to :org_member_tag, class_name: "OrgMemberTag"
5
+ def tag() self.org_member_tag; end
4
6
  end
5
7
 
@@ -2,6 +2,7 @@ require 'action_view/helpers/auto_tag_helper/form_info'
2
2
  require 'activerecord/mlang'
3
3
  class OrgMemberType < ActiveRecord::Base
4
4
  belongs_to :org
5
+ has_many :members, class_name: "OrgMember"
5
6
  include ActiveRecord::Mlang
6
7
  include ActionView::Helpers::AutoTagHelper::FormInfo
7
8
  set_accessible_attrs :position
@@ -1,3 +1,3 @@
1
1
  module WeBridgeRailsEngineOrgs
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -25864,3 +25864,193 @@ Processing by OrgBranchesController#index as HTML
25864
25864
  Rendered /Users/shinjiro/git/we_bridge_rails_engine_orgs/app/views/common/_index.html.builder (123.2ms)
25865
25865
  Rendered /Users/shinjiro/git/we_bridge_rails_engine_orgs/app/views/org_branches/index.html.builder within layouts/application (125.7ms)
25866
25866
  Completed 200 OK in 157ms (Views: 148.4ms | ActiveRecord: 4.6ms)
25867
+  (0.5ms) SELECT COUNT(*) FROM "orgs"
25868
+ Org Load (0.3ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25869
+ Org Load (1.8ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25870
+ OrgDirectorType Load (0.8ms) SELECT "org_director_types".* FROM "org_director_types" WHERE "org_director_types"."org_id" = ? [["org_id", 1]]
25871
+ Org Load (0.4ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25872
+ Org Load (1.7ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25873
+ OrgMember Load (8.2ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
25874
+ OrgDirectorType Load (5.7ms) SELECT "org_director_types".* FROM "org_director_types" ORDER BY "org_director_types"."id" ASC LIMIT 1
25875
+ OrgDirectorType Load (0.2ms) SELECT "org_director_types".* FROM "org_director_types" ORDER BY "org_director_types"."id" ASC LIMIT 1
25876
+ OrgMember Load (0.4ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_director_type_id" = ? [["org_director_type_id", 1]]
25877
+ OrgDirectorType Load (5.9ms) SELECT "org_director_types".* FROM "org_director_types" ORDER BY "org_director_types"."id" ASC LIMIT 1
25878
+ OrgMember Load (0.1ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_director_type_id" = ? [["org_director_type_id", 1]]
25879
+ Org Load (2.4ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25880
+ Org Load (1.0ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25881
+ Org Load (0.8ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25882
+ OrgMember Load (0.7ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_director_types" ON "org_members"."org_director_type_id" = "org_director_types"."id" WHERE "org_director_types"."org_id" = ? [["org_id", 1]]
25883
+ Org Load (0.3ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25884
+  (0.2ms) SELECT COUNT(*) FROM "org_members" INNER JOIN "org_director_types" ON "org_members"."org_director_type_id" = "org_director_types"."id" WHERE "org_director_types"."org_id" = ? [["org_id", 1]]
25885
+ Org Load (0.5ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25886
+ OrgMember Load (0.5ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? [["org_id", 1]]
25887
+ Org Load (1.0ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25888
+ OrgMember Load (0.1ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? [["org_id", 1]]
25889
+ Org Load (2.5ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25890
+ OrgMember Load (0.4ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25891
+ Org Load (0.2ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25892
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25893
+ Org Load (0.6ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25894
+ OrgMember Load (0.5ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25895
+ Org Load (1.4ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25896
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25897
+ Org Load (0.4ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25898
+  (0.2ms) SELECT COUNT(*) FROM "org_members" WHERE "org_members"."org_id" = ? [["org_id", 1]]
25899
+ Org Load (1.1ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25900
+ Org Load (0.5ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25901
+ OrgMemberTag Load (0.6ms) SELECT "org_member_tags".* FROM "org_member_tags" WHERE "org_member_tags"."org_id" = ? [["org_id", 1]]
25902
+ Org Load (0.3ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25903
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" WHERE "org_member_tags"."org_id" = ? ORDER BY "org_member_tags"."id" ASC LIMIT 1 [["org_id", 1]]
25904
+ Org Load (2.5ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25905
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" WHERE "org_member_tags"."org_id" = ? ORDER BY "org_member_tags"."id" ASC LIMIT 1 [["org_id", 1]]
25906
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_member_tag_mappings" ON "org_members"."id" = "org_member_tag_mappings"."member_id" WHERE "org_member_tag_mappings"."org_member_tag_id" = ? [["org_member_tag_id", 1]]
25907
+ OrgMemberTagMapping Load (7.7ms) SELECT "org_member_tag_mappings".* FROM "org_member_tag_mappings" ORDER BY "org_member_tag_mappings"."id" ASC LIMIT 1
25908
+ OrgMemberTag Load (1.4ms) SELECT "org_member_tags".* FROM "org_member_tags" ORDER BY "org_member_tags"."id" ASC LIMIT 1
25909
+ OrgMember Load (0.3ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_member_tag_mappings" ON "org_members"."id" = "org_member_tag_mappings"."member_id" WHERE "org_member_tag_mappings"."org_member_tag_id" = ? [["org_member_tag_id", 1]]
25910
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_member_tag_mappings" ON "org_members"."id" = "org_member_tag_mappings"."member_id" WHERE "org_member_tag_mappings"."org_member_tag_id" = ? [["org_member_tag_id", 1]]
25911
+ Org Load (0.6ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25912
+ OrgMemberTag Load (0.5ms) SELECT "org_member_tags".* FROM "org_member_tags" WHERE "org_member_tags"."org_id" = ? ORDER BY "org_member_tags"."id" ASC LIMIT 1 [["org_id", 1]]
25913
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_member_tag_mappings" ON "org_members"."id" = "org_member_tag_mappings"."member_id" WHERE "org_member_tag_mappings"."org_member_tag_id" = ? [["org_member_tag_id", 1]]
25914
+ Org Load (0.4ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25915
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" WHERE "org_member_tags"."org_id" = ? ORDER BY "org_member_tags"."id" ASC LIMIT 1 [["org_id", 1]]
25916
+ OrgMember Load (0.3ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_member_tag_mappings" ON "org_members"."id" = "org_member_tag_mappings"."member_id" WHERE "org_member_tag_mappings"."org_member_tag_id" = ? [["org_member_tag_id", 1]]
25917
+ Org Load (1.8ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25918
+ OrgMemberTag Load (0.5ms) SELECT "org_member_tags".* FROM "org_member_tags" WHERE "org_member_tags"."org_id" = ? ORDER BY "org_member_tags"."id" ASC LIMIT 1 [["org_id", 1]]
25919
+ OrgMember Load (1.3ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_member_tag_mappings" ON "org_members"."id" = "org_member_tag_mappings"."member_id" WHERE "org_member_tag_mappings"."org_member_tag_id" = ? [["org_member_tag_id", 1]]
25920
+ Org Load (0.5ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25921
+ OrgMemberTag Load (0.5ms) SELECT "org_member_tags".* FROM "org_member_tags" WHERE "org_member_tags"."org_id" = ? ORDER BY "org_member_tags"."id" ASC LIMIT 1 [["org_id", 1]]
25922
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_member_tag_mappings" ON "org_members"."id" = "org_member_tag_mappings"."member_id" WHERE "org_member_tag_mappings"."org_member_tag_id" = ? [["org_member_tag_id", 1]]
25923
+ Org Load (0.3ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25924
+ OrgMemberTag Load (0.1ms) SELECT "org_member_tags".* FROM "org_member_tags" WHERE "org_member_tags"."org_id" = ? ORDER BY "org_member_tags"."id" ASC LIMIT 1 [["org_id", 1]]
25925
+ OrgMemberTagMapping Load (0.5ms) SELECT "org_member_tag_mappings".* FROM "org_member_tag_mappings" WHERE "org_member_tag_mappings"."org_member_tag_id" = ? [["org_member_tag_id", 1]]
25926
+ Org Load (0.2ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25927
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" WHERE "org_member_tags"."org_id" = ? ORDER BY "org_member_tags"."id" ASC LIMIT 1 [["org_id", 1]]
25928
+ OrgMember Load (0.3ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_member_tag_mappings" ON "org_members"."id" = "org_member_tag_mappings"."member_id" WHERE "org_member_tag_mappings"."org_member_tag_id" = ? [["org_member_tag_id", 1]]
25929
+ Org Load (0.5ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25930
+ OrgMemberTag Load (0.6ms) SELECT "org_member_tags".* FROM "org_member_tags" WHERE "org_member_tags"."org_id" = ? ORDER BY "org_member_tags"."id" ASC LIMIT 1 [["org_id", 1]]
25931
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_member_tag_mappings" ON "org_members"."id" = "org_member_tag_mappings"."member_id" WHERE "org_member_tag_mappings"."org_member_tag_id" = ? [["org_member_tag_id", 1]]
25932
+ Org Load (2.6ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25933
+ OrgMember Load (0.5ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? [["org_id", 1]]
25934
+ Org Load (0.4ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25935
+ OrgMember Load (0.3ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25936
+ Org Load (2.1ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25937
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25938
+ OrgMemberTag Load (5.1ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
25939
+ Org Load (0.5ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25940
+ OrgMember Load (0.6ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25941
+ OrgMemberTag Load (0.1ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
25942
+ Org Load (2.7ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25943
+ OrgMember Load (0.5ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25944
+ OrgMemberTag Load (5.6ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
25945
+ Org Load (0.7ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25946
+ OrgMember Load (0.6ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25947
+ Org Load (0.6ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25948
+ OrgMember Load (0.6ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25949
+ Org Load (0.1ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25950
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25951
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
25952
+ Org Load (0.1ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25953
+ OrgMember Load (0.3ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25954
+ OrgMemberTag Load (0.1ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
25955
+ Org Load (0.3ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25956
+ OrgMember Load (0.3ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25957
+ OrgMemberTag Load (0.4ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
25958
+ Org Load (0.4ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25959
+ OrgMember Load (0.3ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25960
+ OrgMemberTag Load (0.3ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
25961
+ Org Load (0.1ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25962
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25963
+ Org Load (0.5ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25964
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25965
+ Org Load (0.3ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25966
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25967
+ Org Load (1.5ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25968
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25969
+ Org Load (0.4ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25970
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25971
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
25972
+ Org Load (0.6ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25973
+ OrgMember Load (0.5ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25974
+ Org Load (0.3ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25975
+ OrgMember Load (0.1ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25976
+ Org Load (2.7ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25977
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25978
+ Org Load (0.5ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25979
+ OrgMember Load (0.7ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25980
+ OrgMemberTag Load (0.6ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
25981
+ Org Load (0.1ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25982
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25983
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
25984
+ Org Load (1.7ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
25985
+ OrgMember Load (0.1ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? ORDER BY "org_members"."id" ASC LIMIT 1 [["org_id", 1]]
25986
+ OrgMemberTag Load (0.1ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
25987
+ OrgMemberTag Load (8.5ms) SELECT "org_member_tags".* FROM "org_member_tags" ORDER BY "org_member_tags"."id" ASC LIMIT 1
25988
+ OrgMemberTag Load (0.3ms) SELECT "org_member_tags".* FROM "org_member_tags" ORDER BY "org_member_tags"."id" ASC LIMIT 1
25989
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" ORDER BY "org_member_tags"."id" ASC LIMIT 1
25990
+ OrgMemberTag Load (0.4ms) SELECT "org_member_tags".* FROM "org_member_tags" ORDER BY "org_member_tags"."id" ASC LIMIT 1
25991
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_member_tag_mappings" ON "org_members"."id" = "org_member_tag_mappings"."org_member_id" WHERE "org_member_tag_mappings"."org_member_tag_id" = ? [["org_member_tag_id", 1]]
25992
+ OrgMemberTag Load (2.4ms) SELECT "org_member_tags".* FROM "org_member_tags" ORDER BY "org_member_tags"."id" ASC LIMIT 1
25993
+ OrgMember Load (0.1ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_member_tag_mappings" ON "org_members"."id" = "org_member_tag_mappings"."org_member_id" WHERE "org_member_tag_mappings"."org_member_tag_id" = ? [["org_member_tag_id", 1]]
25994
+ OrgMemberTag Load (0.4ms) SELECT "org_member_tags".* FROM "org_member_tags" ORDER BY "org_member_tags"."id" ASC LIMIT 1
25995
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_member_tag_mappings" ON "org_members"."id" = "org_member_tag_mappings"."org_member_id" WHERE "org_member_tag_mappings"."org_member_tag_id" = ? [["org_member_tag_id", 1]]
25996
+ OrgMember Load (0.5ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
25997
+ OrgMemberTag Load (0.6ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
25998
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
25999
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26000
+ OrgMember Load (0.3ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26001
+ OrgMemberTag Load (0.1ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26002
+ OrgMember Load (1.1ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26003
+ OrgMember Load (0.5ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26004
+ OrgMemberTag Load (0.3ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26005
+ OrgMember Load (0.5ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26006
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26007
+ OrgMember Load (0.6ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26008
+ OrgMemberTag Load (0.1ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26009
+ OrgMember Load (0.1ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26010
+ OrgMember Load (0.6ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26011
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26012
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26013
+ OrgMember Load (0.1ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26014
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26015
+ OrgMember Load (0.3ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26016
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26017
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26018
+ OrgMemberTag Load (0.1ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26019
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26020
+ OrgMember Load (0.3ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26021
+ OrgMemberTag Load (0.5ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26022
+ OrgMember Load (0.1ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26023
+ OrgMember Load (0.1ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26024
+ OrgMemberTag Load (0.1ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26025
+ OrgMember Load (0.1ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26026
+ OrgMember Load (0.1ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26027
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26028
+ OrgMemberTagMapping Load (8.6ms) SELECT "org_member_tag_mappings".* FROM "org_member_tag_mappings" ORDER BY "org_member_tag_mappings"."id" ASC LIMIT 1
26029
+ OrgMember Load (0.4ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26030
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26031
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26032
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26033
+ OrgMemberTag Load (0.6ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26034
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26035
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26036
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26037
+ OrgMember Load (2.1ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26038
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26039
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26040
+ OrgMemberTag Load (0.2ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26041
+ OrgMember Load (1.3ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26042
+ OrgMemberTag Load (0.1ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? [["org_member_id", 1]]
26043
+ OrgMember Load (1.7ms) SELECT "org_members".* FROM "org_members" ORDER BY "org_members"."id" ASC LIMIT 1
26044
+ OrgMemberTag Load (0.4ms) SELECT "org_member_tags".* FROM "org_member_tags" INNER JOIN "org_member_tag_mappings" ON "org_member_tags"."id" = "org_member_tag_mappings"."org_member_tag_id" WHERE "org_member_tag_mappings"."org_member_id" = ? ORDER BY "org_member_tags"."id" ASC LIMIT 1 [["org_member_id", 1]]
26045
+ OrgMemberTag Load (7.9ms) SELECT "org_member_tags".* FROM "org_member_tags" ORDER BY "org_member_tags"."id" ASC LIMIT 1
26046
+ OrgMemberTag Load (0.1ms) SELECT "org_member_tags".* FROM "org_member_tags" ORDER BY "org_member_tags"."id" ASC LIMIT 1
26047
+ OrgMember Load (0.3ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_member_tag_mappings" ON "org_members"."id" = "org_member_tag_mappings"."org_member_id" WHERE "org_member_tag_mappings"."org_member_tag_id" = ? [["org_member_tag_id", 1]]
26048
+ Org Load (0.4ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
26049
+ Org Load (0.3ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
26050
+ OrgMember Load (7.8ms) SELECT "org_members".* FROM "org_members" INNER JOIN "org_director_types" ON "org_members"."org_director_type_id" = "org_director_types"."id" WHERE "org_director_types"."org_id" = ? [["org_id", 1]]
26051
+ Org Load (3.3ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
26052
+  (0.3ms) SELECT COUNT(*) FROM "org_members" INNER JOIN "org_director_types" ON "org_members"."org_director_type_id" = "org_director_types"."id" WHERE "org_director_types"."org_id" = ? [["org_id", 1]]
26053
+ Org Load (0.3ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
26054
+ OrgMember Load (0.3ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? [["org_id", 1]]
26055
+ Org Load (1.2ms) SELECT "orgs".* FROM "orgs" ORDER BY "orgs"."id" ASC LIMIT 1
26056
+ OrgMember Load (0.2ms) SELECT "org_members".* FROM "org_members" WHERE "org_members"."org_id" = ? [["org_id", 1]]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: we_bridge_rails_engine_orgs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shinjiro Itagaki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-01 00:00:00.000000000 Z
11
+ date: 2015-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-mlang