SyntaxFix
Write A Post
Hire A Developer
Questions
business = Business.where(:user_id => current_user.id).first if business.nil? # no business found else # business.ceo = "me" end