Source: Idify Solutions Blog

Idify Solutions Blog Good practices to follow in Ruby on Rails

Typically, when we wish to loop with a ruby Activerecord object, we follow something like below : class CommentsController < ApplicationController def users_comments posts = Post.all comments = posts.map(&:comments).flatten @user_comments = comments.select do |comment| comment.author.username == params[:username] end end

Read full article »
Est. Annual Revenue
$25-100M
Est. Employees
500-1.0K
CEO Avatar

CEO

Update CEO

CEO Approval Rating

- -/100



Idify Solutions is a Private company. Idify Solutions has a revenue of $57.1M, and 793 employees. Idify Solutions has 1 followers on Owler.