Disable the ignored_columns feature for now

This commit is contained in:
Eugene Burmakin 2024-05-21 23:09:21 +02:00
parent cb21fbcf54
commit 22c8a210b1
5 changed files with 10 additions and 4 deletions

View file

@ -1 +1 @@
0.2.4
0.2.5

View file

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.2.5] — 2024-05-21
### Fixed
- Stop ignoring `raw_data` column during requests to `imports` and `points` tables. This was preventing points from being created.
## [0.2.4] — 2024-05-19
### Added

View file

@ -19,7 +19,7 @@ export default class extends Controller {
var markersLayer = L.layerGroup(markersArray)
var polylineCoordinates = markers.map(element => element.slice(0, 2));
var polylineLayer = L.polyline(polylineCoordinates)
var polylineLayer = L.polyline(polylineCoordinates, { color: 'blue', opacity: 0.6, weight: 3 })
var controlsLayer = {
"Points": markersLayer,

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
class Import < ApplicationRecord
self.ignored_columns = %w[raw_data]
# self.ignored_columns = %w[raw_data]
belongs_to :user
has_many :points, dependent: :destroy

View file

@ -1,5 +1,5 @@
class Point < ApplicationRecord
self.ignored_columns = %w[raw_data]
# self.ignored_columns = %w[raw_data]
belongs_to :import, optional: true