```ruby
# Leap - Electronic Individual Learning Plan Software
# Copyright (C) 2015 South Devon College

# Leap is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# Leap is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with Leap.  If not, see <http://www.gnu.org/licenses/>.

class WorkPackage < Eventable

  after_create {|q| q.events.create!(:event_date => created_at, :transition => :create)}

  def title
    "Work Package"
  end

end
```

Fix issue adding work package
user
```ruby
# Leap - Electronic Individual Learning Plan Software
# Copyright (C) 2015 South Devon College

# Leap is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# Leap is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with Leap.  If not, see <http://www.gnu.org/licenses/>.

class WorkPackage < Eventable

  attr_accessible :wp_type, :description, :learnt, :next_steps, :days

  after_create {|q| q.events.create!(:event_date => created_at, :transition => :create)}

  def title
    "Work Package"
  end

end
```
assistant