[Rails] Cleaning Action Cache not working for show action

2009-03-12 Thread jawosis
Hi, I realized (in development environment with caching activated) that cleaning the action cache for the show action is not working properly. The caching itself works fine - but once I try to clean the cache via the corresponding sweeper, the show action fragment does not get swept. Here is the

[Rails] How to adapt alphabetical order in localized app using country_select?

2008-12-03 Thread jawosis
I wonder how to assure correct alphabetical order of the country_select options when using different languages? If the current language is set to english, the order of the country_select options is as I would expect alphabetically correct. But once I change the curent language to another one, the

[Rails] Re: "syntax error, unexpected tIDENTIFIER , expecting kEND" in RJS response

2008-11-23 Thread jawosis
Ok - thanks a lot for your advice Fred! I checked my line endings with another editor and in fact found some unwanted whitespaces. Now everything works fine! On 22 Nov., 23:12, Frederick Cheung <[EMAIL PROTECTED]> wrote: > On Nov 22, 10:01 pm, jawosis <[EMAIL PROTECTED]> wrote

[Rails] Re: "syntax error, unexpected tIDENTIFIER , expecting kEND" in RJS response

2008-11-22 Thread jawosis
e rjs template - then, I should also see the error when just the first line/ javascript call (the one that calls the partials) is executed...which istn't the case! Hmmm...then it must be the invisible gremlins? On 22 Nov., 22:46, Frederick Cheung <[EMAIL PROTECTED]> wrote: > On Nov 2

[Rails] "syntax error, unexpected tIDENTIFIER , expecting kEND" in RJS response

2008-11-22 Thread jawosis
I get a "syntax error, unexpected tIDENTIFIER, expecting kEND" when the following RJS template is rendered: page.insert_html :bottom, :requisite_table, :partial => "insert_jobrequisite_select", :locals => {:job => @job, :counter => @counter} page.alert("hi") The same RJS template is rendered wi

[Rails] Strange attachment_fu problem: thumbnails limited to 1

2008-09-11 Thread jawosis
Hi, I am encountering a strange issue with attachment_du: whatever classes of thumbnails I define, only one is recognized and accordingly processed when creating a new image. For example: :thumbnails => {:thumb => "65x65", :big => "548x548"} just produces a "big" thumbnail and the "thumb" thumbn