<% project_file_num = Attachment.where(:container_type => "Project", :container_id => @project.id).count %> <% unless @project.enabled_modules.where("name = 'boards'").empty? %> <% end%> <% unless @project.enabled_modules.where("name = 'files'").empty? %> <% end %>