attr-protected Questions

8

Solved

I had a problem with ElasticSearch and Rails, where some data was not indexed properly because of attr_protected. Where does Elastic Search store the indexed data? It would be useful to check if th...
Selfinsurance asked 21/1, 2012 at 16:52

3

Solved

FactoryGirl won't set my protected attribute user.confirmed. What's the best practice here? Factory.define :user do |f| f.name "Tim" # attr_accessible -- this works f.confirmed true # attr_prote...
1

© 2022 - 2024 — McMap. All rights reserved.