All threads / how can i access boolean value to other controller in rails

Ask A Question

Notifications

You’re not receiving notifications from this thread.

how can i access boolean value to other controller in rails

anuj asked in Rails

i have ProjectSite model and ManagerRemark model related to many to one association. my MangerRemark model remark string field and decision boolean value true and false. i want to access that boolean value to other controller view. please help.i want to print decision boolean value next to each project site index list how can i do that? in other controller name new_manager_controller view

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 37,344+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.