Goals: add text field to all tags index page figure out why fix button doesn’t work on errors index and why none work on show pages
Way to call a method in the view:
action in the controller a route that maps to the to the controller and action can i just not call <% import %> or something? ajax can ping errors/import
progress bars for import are in the
flash message: In the helpers/application_helper.rb
in the layouts/application.html.erb
We put the link_to inside the a class. But it seems to that the A tag is open
1 2 3 4 5 6 7 8
delayed job - backend server if it takes a variable it uses a colon and needs are parameter… pop up and alert box
attr_accessbile is ignored in mongoid
document in the the view we added
LESSONS: In the controller I was calling trying to find the Tag by ID. The correct way is below…
We always need a route when we are calling an action… So if there is a dynamic variable (like ID– always indicated with a colon) in the route, it needs a paramater passed in!
DO NOT Hardcode, use the alias name. Sometimes this means that you need to name it
redrirect_to :back brings you back to the original page. This was useful for destroying a tag name and then redirecting to the tag index.