app/helpers/map_locations_helper.rb
Method render_map
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def render_map(map_location, parent_class, editable, remove_marker_label, investments_coordinates=nil)
Line is too long. [104/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
def render_map(map_location, parent_class, editable, remove_marker_label, investments_coordinates=nil)
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
map_location.present? && map_location.longitude.present? ? map_location.longitude : Setting["map_longitude"]
- Exclude checks
Line is too long. [115/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
data: prepare_map_settings(map_location, editable, parent_class, investments_coordinates)
- Exclude checks
Line is too long. [109/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
map_location.present? && map_location.latitude.present? ? map_location.latitude : Setting["map_latitude"]
- Exclude checks