Ruby on Rails Monday, August 30, 2010

On 29 August 2010 23:44, Jeff Chen <jeffchen1453@gmail.com> wrote:
> The manage_c0ntroller.rb:

Did you note the first request in my previous email - not to top post?
That means not to post your new message before the quotes of the
previous message, but to insert your reply into the previous message.
Now I have scroll up and down this email looking at what I asked and
back up to see your response. It also makes it less likely that you
will forget to answer a question.

In particular you have not confirmed that you do not get any errors
when you start the server.

Also please can you confirm that if you remove the calls to paginate
and just fetch all records that all works as expected.

Further comments below.

>
> class ManageController < ApplicationController
>
>  def index
>    list
>    render :action => 'list'
>  end

Again I am having to cut and paste from below, if you had not top
posted I would not have had to do this. You previously said the error
is
>> > NoMethodError in ManageController#index
>> > undefined method `paginate' for #<Class:0x679f940>

I don't see any call to paginate so that is a bit odd. Please confirm
exactly what is happening and make sure the code you post matches the
error message. Post the full error trace for the message please.

And once again please don't top post.

Colin

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment