{ height: 1%; } - Ruby on Rails and User Interface Design

CSS, UI Design, Ruby on Rails and cheese ... lots of cheese

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.

Comments

  1. first try.. said about 3 hours later:

    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 :)

  2. second try... ;) said about 5 hours later:

    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?)

  3. second try... ;) said about 9 hours later:

    ok, I’ve found it, sorry for bothering… ;D

  4. Richard White said about 22 hours later:

    @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.

  5. Dr Nic said 1 day later:

    @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.

  6. second try... ;) said 1 day later:

    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

  7. Richard White said 1 day later:

    @second try: Take it to the forums please :)

Trackbacks

Use the following link to trackback from your own site:
http://www.height1percent.com/articles/trackback/46

(leave url/email »)

   Comment Markup Help Preview comment