Sha256: 27f54ff173b9c1ee4a16d8cd6ce61aea1a71f4f6cc5d600819ef0d314288b00c
Contents?: true
Size: 1.02 KB
Versions: 46
Compression:
Stored size: 1.02 KB
Contents
# == Schema Information # # Table name: easy_ml_columns # # id :bigint not null, primary key # dataset_id :bigint not null # name :string not null # description :string # datatype :string # polars_datatype :string # is_target :boolean # hidden :boolean default(FALSE) # drop_if_null :boolean default(FALSE) # preprocessing_steps :json # sample_values :json # statistics :json # created_at :datetime not null # updated_at :datetime not null # module EasyML class ColumnsController < ApplicationController def update @column = EasyML::Column.find(params[:id]) if @column.update(column_params) head :ok else render json: { errors: @column.errors }, status: :unprocessable_entity end end private def column_params params.require(:column).permit(:hidden) end end end
Version data entries
46 entries across 46 versions & 1 rubygems