Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Karl Shea - Limited's latest activity

Friday, December 12 2008
1455 ActiveResource Failed With Rails 2.2.1 was updated in Ruby on Rails
  • Karl Shea - Limited
    Karl Shea - Limited commented at 9:52 PM

    Spoke too soon, that's actually generating the wrong url. (new action instead of create action)

  • Karl Shea - Limited
    Karl Shea - Limited commented at 9:48 PM

    Well, I did make it work with this:

    <% form_for(:company, :url => new_object_url) do |f| %>

    So I guess that will work, but it still seems odd the other way does...

  • Karl Shea - Limited
    Karl Shea - Limited commented at 9:19 PM

    ha well you get the idea.

  • Karl Shea - Limited
    Karl Shea - Limited commented at 9:19 PM

    A preview button would be nice.

    Works:

    @@@ <% for company in @companies %>

    <% end -%> @@@

    Breaks with new object:

    @@@ <% form_for(:company, :url => object_url(@...

  • Karl Shea - Limited
    Karl Shea - Limited commented at 9:17 PM

    I'm using resource_controller as well, but I don't think that's the issue, because this works:

    @@@<% for company in @companies %>

    <td><%= link_to 'Show', objec...
Thursday, December 11 2008
1455 ActiveResource Failed With Rails 2.2.1 was updated in Ruby on Rails
  • Karl Shea - Limited
    Karl Shea - Limited commented at 9:50 PM

    I'm still seeing this error using the diff above in activeresource-2.2.2. Was there more fixed than just the new_record alias?