On Lunes, 6 de Septiembre de 2010 12:41:36 Bashar escribió:
> Hi,
>
> I'm getting this error I18n::MissingInterpolationArgument
>
>
> Showing vendor/plugins/active_scaffold/frontends/default/views/
> _list_record.html.erb where line #12 raised:
>
> missing interpolation argument in "%a, %{count} %b %Y %H:%M:%S
> %z" ({:object=>Sun, 05 Sep 2010 10:12:55 UTC +00:00} given)
> Extracted source (around line #12):
>
> 9: <tr class="record <%= tr_class %>" id="<%= element_row_id(:action
> => :list, :id => record.id) %>">
> 10:   <% active_scaffold_config.list.columns.each do |column| %>
> 11:     <% authorized = record.authorized_for?(:action
> => :read, :column => column.name) -%>
> 12:     <% column_value = authorized ? get_column_value(record,
> column) : active_scaffold_config.list.empty_field_text -%>
> 13:
> 14:     <td class="<%= column_class(column, column_value) %>" >
> 15:       <%= authorized ? render_list_column(column_value, column,
> record) : column_value %>
>
>
> Note: I was running my app successfully on Mac when I had to move it
> temporarily to Windows. ActiveScaffold was working there too initially
> with Ruby 1.9.2 but then I had to downgrade to Ruby 1.8.7 for my code
> compatibility. That's only thing I recall changing and now I'm getting
> this error. Using AS 1.2RC1

You can't be using AS 1.2RC1 because it only supports rails 2.0. You must be 
using master or rails-2.3 branch to use with rails 2.3

You are not posting the backtrace, I would need a full one, uncomment last 
line in config/initializers/backtrace_silencers.rb

>
> Any clue?

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to