On Sun, Jan 2, 2011 at 11:34 AM, Tom <[email protected]> wrote:
> Ok it might be easier to show you type of thing I want to do.
>
> class ActionsController < ApplicationController
>  def index
>   �...@actions = CorporateAction.all(:headers => request.headers)
>  end
>
>  def show
>   �...@action = CorporateAction.find(params[:id], :headers =>
> request.headers)
>  end
> end
>
> Where CorporateAction is an ActiveResource ie
>
> class CorporateAction < ActiveResource::Base
>  self.site = "http://localhost:3000";
>  self.format = :json
> end
>
> Is this possible or is there another way of doing it?

Is *what* possible? None of the above makes any sense to me -- can
you describe *exactly* your goal?

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to