Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Getting an error whilst using with Rails Admin #48

Description

@robbied72

Hi All,

Seem to be getting this error whilst creating a page in my Rails Admin CMS -

Unauthorized assignment to lft: it's an internal field handled by acts_as_nested_set code, use move_to_* methods instead.

Full Page Code -

 ActiveRecord::ActiveRecordError in RailsAdmin::MainController#new

 Unauthorized assignment to lft: it's an internal field handled by acts_as_nested_set code, use move_to_* methods instead.

 Rails.root: /Users/Robbie/VSWeb/ecoslide
 Application Trace | Framework Trace | Full Trace

 Request

 Parameters:

{"utf8"=>"✓",
 "authenticity_token"=>"eSnjsMt/Ukbf7pltwc6TtJlooxKcimJPHMueTIJzod0=",
 "page"=>{"menu"=>"About",
 "title"=>"About ECOSlide",
 "slug"=>"",
 "content"=>"<pre>\r\nUnauthorized assignment to lft: it&#39;s an internal field handled by acts_as_nested_set code,
 use move_to_* methods instead.</pre>\r\n",
 "metakw"=>"",
 "metadesc"=>"",
 "parent_id"=>"",
 "lft"=>"0",
 "rgt"=>"0",
 "page_order"=>"2",
 "active"=>"1"},
 "return_to"=>"http://ecoslide.dev/ecoadmin/page",
 "_save"=>"",
 "model_name"=>"page"}

Show session dump

Show env dump
Response

Headers:

None

Help would be appreciated

Regards

Robbie

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions