ish_models 0.0.33.176 → 0.0.33.177

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ish/user_profile.rb +1 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a810365ee2634ffbe66e6d14a7f189fd852163998af2c3edde1a57d4b2d68f7d
4
- data.tar.gz: 89845a5d0201ec225d6a2a0f645169603a66612f82b4fcb10ba9b5e7e6ebad9e
3
+ metadata.gz: 397db72f891618fed009e038b838b8db501938fc138049694b36a231bdde5396
4
+ data.tar.gz: 61862f7ca0df8353154842805e14177545aa0ce5dfde14ad2b72eb2ccdedaec7
5
5
  SHA512:
6
- metadata.gz: 0c4a699711808f394354761e45910afafa47efd8e8c6f2e378e680ed5a1edc4c9a6ff36714aa196a93dba4bae0070b0dc817753458d82b67423a11aa5d6aa42d
7
- data.tar.gz: f5c50bcfffb3d7d2e130bb64c11b66b6f47297771bb0f68fb1a89df4e09c2b4dc1dd52f62fb9f0f70e37caab3f6bd6098ff4af829bfcb4e99172248a4532c270
6
+ metadata.gz: 369c6244bf7b9e27db9616b5584a1f9650eaabd76f82cb8ecf3df56f7012c3c47bd4de657820531c70bab77b959fe8b350113367305bde898618d32630787ffd
7
+ data.tar.gz: 4a6b95bcaeb3d47c66502f9d5b7cb268fc596a2ad9787bf01d654c9e620ba5a030f5c42b3e783491537cd52a09ee18038e6ba0748b7b9d5b52f1342f38c01b8b
@@ -40,8 +40,7 @@ class Ish::UserProfile
40
40
 
41
41
  has_one :profile_photo, :class_name => 'Photo', :inverse_of => :profile_city
42
42
 
43
- belongs_to :user
44
- validates_presence_of :user
43
+ belongs_to :user, class_name: 'TmpUser', inverse_of: :profile
45
44
 
46
45
  belongs_to :current_city, :class_name => 'City', :inverse_of => :current_users, :optional => true
47
46
  belongs_to :guide_city, :class_name => 'City', :inverse_of => :guide, :optional => true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33.176
4
+ version: 0.0.33.177
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox