0

Just was checking this episode by Ryan Bates and it seems that Rails 3.2.x has different setup.

Seems that check_box_tag requires different attributes other than Ryan puts in there. AS it writes back unexpected kEND... to <%= check_box_tag "task_ids[]", task.id %>

Any help appreciated

user229044
  • 232,980
  • 40
  • 330
  • 338
Jackie Chan
  • 2,654
  • 6
  • 35
  • 70

1 Answers1

0

Your error is unrelated to your use of check_box_tag.

"unexpected kEND" indicates an unexpected end-of-file, meaning you've opened a block or other nested structure somewhere and failed to close it. Probably a do or an if with no matching end.

user229044
  • 232,980
  • 40
  • 330
  • 338