StackOverflow Questions for Tag: attr-accessible

Kingsley Simon
Kingsley Simon

Reputation: 2210

attr_accessor not updating value from rails model

Score: 0

Views: 569

Answers: 1

Read More
gucki
gucki

Reputation: 4762

mongoid, set_table_name & attr_accessible

Score: 2

Views: 2963

Answers: 3

Read More
Sean Huber
Sean Huber

Reputation: 3985

Commenting rails attr_accessible fields with RDoc

Score: 0

Views: 110

Answers: 1

Read More
Ecnalyr
Ecnalyr

Reputation: 5802

Forbidden Attributes Error in Rails 4 when encountering a situation where one would have used attr_accessible in earlier versions of Rails

Score: 45

Views: 71438

Answers: 5

Read More
Camilo
Camilo

Reputation: 2853

Solution to "Can't mass-assign protected attributes" by adding the foreign key to attr_accessible

Score: 1

Views: 507

Answers: 1

Read More
Neetesh
Neetesh

Reputation: 71

Rails_admin with has_one issue in rails 5

Score: 1

Views: 357

Answers: 1

Read More
dvdt
dvdt

Reputation: 39

Rails 4: chaining associated objects in Views

Score: 0

Views: 42

Answers: 3

Read More
maximus ツ
maximus ツ

Reputation: 8065

Specify attribute list in attr_accessor with method call

Score: 11

Views: 4334

Answers: 3

Read More
Dave G
Dave G

Reputation: 4386

Calling accessor methods from within a Model object in Rails

Score: 3

Views: 1369

Answers: 1

Read More
Rockman
Rockman

Reputation: 99

Rails 4, strong_parameters, dynamic attr_accessible: how to get parent db info into class instance

Score: 1

Views: 223

Answers: 0

Read More
Peter Gerdes
Peter Gerdes

Reputation: 2978

How Do I Add A Virtual Attribute To The Attributes Hash in Rails 4

Score: 1

Views: 1053

Answers: 1

Read More
Hans
Hans

Reputation: 31

attr_accessible error on rails 4.1.8 upon performing rake db:migrate on heroku

Score: 0

Views: 133

Answers: 1

Read More
Micah Alcorn
Micah Alcorn

Reputation: 2383

Rails nested form model creation fails silently using cocoon

Score: 0

Views: 617

Answers: 1

Read More
atw
atw

Reputation: 5830

Difference between attr_accessible and strong parameters

Score: 12

Views: 6940

Answers: 2

Read More
user2345
user2345

Reputation: 37

workaround for getting alt for a css image

Score: 0

Views: 93

Answers: 2

Read More
BrenoSalgado
BrenoSalgado

Reputation: 21

Bug? I've to mass-assign params two times to update has_many association

Score: 2

Views: 403

Answers: 1

Read More
prashantsahni
prashantsahni

Reputation: 2195

undefined method `attr_accessible' with Mongoid

Score: 3

Views: 827

Answers: 1

Read More
user3436436
user3436436

Reputation: 1

Import CSV to database using Rails 4.0.3

Score: 0

Views: 587

Answers: 2

Read More
Tomislav Mikulin
Tomislav Mikulin

Reputation: 5926

attr_accessible in rails 4

Score: 1

Views: 1141

Answers: 1

Read More
Jason Waldrip
Jason Waldrip

Reputation: 5148

Using Rails 3.1 :as => :admin for updating attributes protected by attr_accessible

Score: 11

Views: 5950

Answers: 3

Read More
PreviousPage 1Next