 <p>For Your requirement. For creation of microposts. do something like this.</p> <pre><code>artist=Artist who is logged in artist.artist_micro_posts.build(attributes) artist.save </code></pre> <p>For creating comments to microposts</p> <pre><code>micro_posts= Micropost Id micro_post.artist_micropost_comments.build(:artist_id=logged in person) micro_post.save </code></pre>