Forum: Ruby on Rails In Place Editor and Empty Fields

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
HH (Guest)
on 2006-03-10 02:25
(Received via mailing list)
So, the InPlaceEditor with AJAX is all nice and dandy, works great.

What about fields that don't have any content? As far as I can tell,
this
doesn't work so well - there's nothing to click on so no edit form pops
up...

Am I missing something?

HH
Brad D. (Guest)
on 2006-03-10 02:50
I use before_save actions in my model to ensure that empty fields are
filled with 'N/A' or some other relevant filler.

HH wrote:
> So, the InPlaceEditor with AJAX is all nice and dandy, works great.
>
> What about fields that don't have any content? As far as I can tell,
> this
> doesn't work so well - there's nothing to click on so no edit form pops
> up...
>
> Am I missing something?
>
> HH
HH (Guest)
on 2006-03-10 03:19
(Received via mailing list)
Yeah, that would work.

What I ended up doing was having an external edit DIV ID and using that
to
trigger the edit field, sorta like Backpack does. Works great, even on
empty
fields.
Denise E. (Guest)
on 2006-03-13 04:04
(Received via mailing list)
Hi,

I've seen quite a few posts about this problem, but still can't seem
to find an answer.  I'm trying to set up multiple apps on our web
hosting server ( running CentOS with Apache 1.3)  and on two of my
apps I keep getting the error:
FastCGI: incomplete headers (35 bytes) received from server "/path/
app/public/dispatch.fcgi"

These apps have run on this server before.

I know this is often caused by session conflicts but I have closed
the browser, emptied its cache and deleted all session data on the
server and it makes no difference. ( Besides, all the apps but one
have special session_keys set.  Neither of the working apps have a
special session key set.  However, if I remove that feature from the
broken ones, it doesn't help.  )

Apparently it is also sometimes caused by problems with the
database.yml file, so I copied the database.yml file from one of the
working apps( they both use the same database - the working app has
more extensive permissions.)  No joy.

Does anyone have any other suggestions?  I am baffled.

Thanks,
Denise
This topic is locked and can not be replied to.