class
   Profiles::Profile
 
  - Profiles::Profile
 - Marten::DB::Model
 - Reference
 - Object
 
Defined in:
apps/profiles/models/profile.crConstant Summary
- 
        FIELDS_ = 
{"id" => {type: "big_int", kwargs: {primary_key: true, auto: true}}, "user" => {type: "one_to_one", kwargs: {to: Auth::User, related: :profile}}, "username" => {type: "string", kwargs: {max_size: 128, unique: true}}, "bio" => {type: "text", kwargs: {blank: true, null: true}}, "image_url" => {type: "url", kwargs: {blank: true, null: true}}, "followed_users" => {type: "many_to_many", kwargs: {to: self}}, "favorite_articles" => {type: "many_to_many", kwargs: {to: Blogging::Article, related: :favorited_by}}} of Nil => Nil 
Instance Method Summary
- #articles
 - #bio : String | Nil | Nil
 - #bio!
 - #bio=(bio : String | Nil | Nil)
 - #bio?
 - #favorite_articles
 - #followed_users
 - #from_profile_followed_users
 - #id : Int32 | Int64 | Nil | Nil
 - #id!
 - #id=(id : Int32 | Int64 | Nil | Nil)
 - #id?
 - #image_url : String | Nil | Nil
 - #image_url!
 - #image_url=(image_url : String | Nil | Nil)
 - #image_url?
 - #profile_favorite_articles
 - #to_profile_followed_users
 - #user : Auth::User | Nil
 - #user! : Auth::User
 - #user=(related_object : Auth::User | Nil)
 - #user?
 - #user_id : Marten::DB::Field::ReferenceDBTypes | Nil
 - #user_id!
 - #user_id=(related_id : Marten::DB::Field::ReferenceDBTypes | Nil)
 - #user_id?
 - #username : String | Nil | Nil
 - #username!
 - #username=(username : String | Nil | Nil)
 - #username?