AjaxScaffold 3.1.4 Released
Posted by Richard White Fri, 14 Jul 2006 16:37:19 GMT
AjaxScaffold has been deprecated in favor of ActiveScaffold
Dr. Nic Williams was kind enough to send me unit and functional tests for generated scaffolds. This was something a number of you have been asking for so I’m doing a new release with those included. Thanks Nic.
Hi, I’m afraid I nay have found a bug: I have “ActiveRecord::Base.pluralize_table_names = false” in config/environment.rb, and at least sorting isn’t working. It tries to find pluralized table. Maybe I’m doing something wrong, as I’m new to both ruby and rails. Anyway, thanks for AjaxScaffold. Other than not working atm, it seems to be everything I was looking for :)
the ajax calls don’t work when I supply for exgample: @headers[“Content-Type”]=”text/html;charset=iso-8859-2”
The indicator stays active and nothing happens (actually the call is being prcessed by rails, maybe there is something wrong with rjs templates?)
ok, I’ve found it, sorry for bothering… ;D
@first try: I’m not sure what that’s all about, that’s a problem outside the scope of the generator. Try the Ruby on Rails IRC channel or forum. @second try: There is a stickied post on the forums about how to set content types.
@first try – it’s very possible that I used the wrong options in the generator.
I spotted a couple fixes today, these might solve your plural problem.
Richard, I’ll submit a patch to 16bugs.
the scaffold did not work for me when I supplied a table with underscore in its name eg: result_types. The list showed fields with – sign. After quick investigation I found a line: <% column_value = eval(scaffold_column.eval) rescue nil %> after removing the rescue clause rails complained about noneistant resulttypes variable
@second try: Take it to the forums please :)