:has_many fields that are :accessible show up incorrectly on edit form
Reported by mkosma | May 21st, 2009 @ 02:01 AM | in Hobo 1.0 - Final
To reproduce in Agility, add :accessible => true to the has_many declaration in story.rb, as follows:
class Story < ActiveRecord::Base
... has_many :tasks, :dependent => :destroy, :order =>
:position, :accessible => true ...
Opening the edit page for a Story now shows Tasks at the bottom, but the edit controls are mangled - just a [+] and [-] button with no text or expected ability to view or edit taskss.
Comments and changes to this ticket
-
Bryan Larsen June 16th, 2009 @ 10:45 PM
- Assigned user set to Bryan Larsen
- State changed from new to resolved
- Tag set to defect, enhancement, rapid
- Milestone set to Hobo 1.0 - Final
-
Bryan Larsen June 19th, 2009 @ 05:20 PM
As bcavileer found out, the bug was only fixed in certain scenarios. I've uploaded a proper fix.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป