Report
Question
I’m trying to figure out how to use helpers files. I have models for Project and Potential Use. The associations are: Project has_many :potential_uses accepts_nested_attributes_for :potential_uses, reject_if: :all_blank, allow_destroy: true Potential Use belongs_to :project belongs_to :user In my projects show page, I have a reference to a helper ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 5 views

Report
Question
I am trying to deploy an app onto Heroku but I keep running into issues with it. When I first created the app, it was initially made by forking a frontend template that used grunt to serve the page. I have ...

Please briefly explain why you feel this question should be reported .

Report Cancel
0
0 Answer 8 views

Report
Question
I’m trying to build an object that’s three associations deep in one hit. The user has the option of adding more of the child objects if they want. class Template < ActiveRecord::Base has_many :stacks, dependent: :destroy accepts_nested_attributes_for :stacks, allow_destroy: ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 7 views

Report
Question
I am working with the Searchkick Gem and Elastic search and am trying to understand the aggregations behavior. I have three facets (Aggregations): City, State and Company. If I filter by any one of them, the counts of other two are reduced ...

Please briefly explain why you feel this question should be reported .

Report Cancel
0
0 Answer 3 views

Report
Question
Hi I am using devise and devise_zxcvbn for password scoring. According to the gem readme the following is the default message: "not strong enough. It scored %{score}. It must score at least %{min_password_score}." Although this is what I receive: translation missing: en.activerecord.errors.models.admin_user.attributes.password.weak_password I’ve added ...

Please briefly explain why you feel this question should be reported .

Report Cancel
0
0 Answer 5 views