#32 √ resolved
Toni Reina

Error with more than one media_attachment in a model

Reported by Toni Reina | March 27th, 2009 @ 05:34 PM | in 0.7 (closed)

If a model has more than one media_attachment, this fail in setter field_ids because the value of field is overwriting in some place of app.

The code is in: /ubiquo_media/lib/ubiquo_media/media_selector/active_record.rb

A provisional monkey patch is duplicate field value in media_attachment method and use it in 'define_methods'.

We need find where field variable is overwrited.

Comments and changes to this ticket

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Ruby on Rails based application framework.

Check the ubiquo website.

Source available from github

Ubiquo plugins can be found at http://github.com/gnuine

Check out the development master (Edge ubiquo):

gem install ubiquo
ubiquo --edge myapp

Creating or reviewing a patch

See the contributor guide.

Creating a feature request

If you want a new feature in Ubiquo it's best to implement it yourself.

Creating a bug report

When creating a bug report, be sure to include as much relevant information as possible. Post the code sample that causes the problem. Preferably, alter the unit tests and show through either changed or added tests how the expected behavior is not occuring.

Shared Ticket Bins

People watching this ticket

Referenced by