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.
- checksums.yaml +4 -4
- data/lib/ish/user_profile.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 397db72f891618fed009e038b838b8db501938fc138049694b36a231bdde5396
|
4
|
+
data.tar.gz: 61862f7ca0df8353154842805e14177545aa0ce5dfde14ad2b72eb2ccdedaec7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 369c6244bf7b9e27db9616b5584a1f9650eaabd76f82cb8ecf3df56f7012c3c47bd4de657820531c70bab77b959fe8b350113367305bde898618d32630787ffd
|
7
|
+
data.tar.gz: 4a6b95bcaeb3d47c66502f9d5b7cb268fc596a2ad9787bf01d654c9e620ba5a030f5c42b3e783491537cd52a09ee18038e6ba0748b7b9d5b52f1342f38c01b8b
|
data/lib/ish/user_profile.rb
CHANGED
@@ -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
|