Yeah....sorry:

     49  def load_data
     50     check = Check.find_by_id(params[:id])
     51     redirect_to :controller => 'checks', :action=>'list' and 
return if !check
     52
     53     render :json => { :success => true, :data => {
     54       :username => check.username,
     55       :pass => check.pass,
     56     }}
     57   end

Thanks

Hassan Schroeder wrote in post #1032504:
> On Fri, Nov 18, 2011 at 3:27 AM, pololo pololo <ulybkii / gmail.com>
> wrote:
>
>> ActiveRecord::UnknownAttributeError (unknown attribute: action):
>>
>> Any hint?
>
> Look at (or post) the code doing the write; "unknown attribute" seems
> pretty unambiguous to me ...

-- 
Posted via http://www.ruby-forum.com/.