metaminded/tabulatr2

View on GitHub
lib/tabulatr/generators/tabulatr/templates/tabulatr_data.rb

Summary

Maintainability
A
0 mins
Test Coverage

unexpected token tGT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% end %>

unexpected token tOP_ASGN (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

  search :<%= attributes.last %>

unexpected token kDO (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% module_namespacing do %>class <%= class_name %>TabulatrData < Tabulatr::Data

unexpected token tLT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% module_namespacing do %>class <%= class_name %>TabulatrData < Tabulatr::Data

unexpected token tLT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% end %>

unexpected token tCONSTANT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% module_namespacing do %>class <%= class_name %>TabulatrData < Tabulatr::Data

unexpected token tLT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% attributes = attributes_names %><% if class_name.constantize.table_exists? %><% attributes << class_name.constantize.column_names.map(&:to_sym) %><% end %><% attributes = attributes.flatten.uniq %><% if attributes.any? %>

unexpected token tCOMMA (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

  association :<%= attribute %>, :id

unexpected token tGT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% end %>

unexpected token tEQL (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% attributes = attributes_names %><% if class_name.constantize.table_exists? %><% attributes << class_name.constantize.column_names.map(&:to_sym) %><% end %><% attributes = attributes.flatten.uniq %><% if attributes.any? %>

unexpected token kDO_BLOCK (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% attributes.each do |a| %>

unexpected token tGT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% end %>

unexpected token tGT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% attributes = attributes_names %><% if class_name.constantize.table_exists? %><% attributes << class_name.constantize.column_names.map(&:to_sym) %><% end %><% attributes = attributes.flatten.uniq %><% if attributes.any? %>

unexpected token tLT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% attributes.each do |a| %>

unexpected token tGT (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% attributes = attributes_names %><% if class_name.constantize.table_exists? %><% attributes << class_name.constantize.column_names.map(&:to_sym) %><% end %><% attributes = attributes.flatten.uniq %><% if attributes.any? %>

unexpected token tEQL (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% attributes = attributes_names %><% if class_name.constantize.table_exists? %><% attributes << class_name.constantize.column_names.map(&:to_sym) %><% end %><% attributes = attributes.flatten.uniq %><% if attributes.any? %>

unexpected token kDO_BLOCK (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

<% association_names.each do |attribute| %>

There are no issues that match your filters.

Category
Status