I’ve been having an odd problem all morning… Have used the great
file_column plugin many times before without problems, however on one
app I’mworking on right now it’s refusing to work properly.
When I go to create a new record via the backend system I’ve written I
get the exception:
“Trying to access file_column, but primary key got lost.”
However if I go to edit an existing record everything works perfectly
and I can upload files.
This is only the second app I’ve written on my PowerBook using
Locomotive and (lazily) sqlite, I’ve usually written stuff on a FreeBSD
server with Postgres so perhaps its a platform/DB issue? Any ideas, I’m
stumped…
For the record this is a platform/DB problem, installed MySQL 5 and have
no problems.
Si.
Si wrote:
I’ve been having an odd problem all morning… Have used the great
file_column plugin many times before without problems, however on one
app I’mworking on right now it’s refusing to work properly.
When I go to create a new record via the backend system I’ve written I
get the exception:
“Trying to access file_column, but primary key got lost.”
However if I go to edit an existing record everything works perfectly
and I can upload files.
This is only the second app I’ve written on my PowerBook using
Locomotive and (lazily) sqlite, I’ve usually written stuff on a FreeBSD
server with Postgres so perhaps its a platform/DB issue? Any ideas, I’m
stumped…
Si.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.