Hi Aaron,
It looks like there's no problem with your code. Given the error, it
looks like the gem is not loaded. How to isolate the problem, I would
suggest you try to make it work locally to remove the possibility of a
bug in Heroku.
If you can't try it locally, let me suggest something (which
Hello,
I just did a test here with installing will_paginate through the gems
& plugins page. It worked flawlessly on Heroku once I required it
environment.rb. I'd be happy to tar up that app and send it to you as
an example, if you think that might help. Just shoot me an email
privately.
Never mind about the Google Charts gem.. I have it working now.. I was
trying in an unblessed app.. works great in my blessed app.
I still cant figure out why the will_paginate gem won't work
On Jun 3, 2:20 pm, Aaron <[EMAIL PROTECTED]> wrote:
> Hmm I am just not able to get gems working it seem
Hmm I am just not able to get gems working it seems.. I can't figure
out what I am doing wrong. I wanted to play with the google charts
gem, so I installed it, required it.. and here is my code for the
controller:
def index
@chart = Gchart.line( :size => '200x300',
:title => "examp
At the moment I have taken out the pagination code and just have the
search code working .. you can see it at ngacogdirectory.heroku.com
(its very simple a at the moment)
On Jun 3, 10:42 am, Aaron <[EMAIL PROTECTED]> wrote:
> Yes I am trying the method used inhttp://railscasts.com/episodes/51
>
>
Yes I am trying the method used in http://railscasts.com/episodes/51
Here are my models and controllers:
# models/church.rb
def self.search(search, page)
paginate :per_page => 5, :page => page,
:conditions => ['zipcode || city LIKE like ?', "%#{search}
%"],
:order => 'nam
Hi Aaron,
Any more details you can give us? Have you made it work in your local
environment? Or are you only trying this out in Heroku?
Where are you calling paginate?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I installed the gem and it shows up in my vendors/gems directory, but
when I preview my app I get the following error:
undefined method `paginate'
I have required it in the environment.rb file? What am I doing wrong?
Thanks,
Aaron
On May 5, 9:45 pm, mortenbagai <[EMAIL PROTECTED]> wrote:
> Mi
Thanks :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options,
Mikong,
You should be able to use the latest will_paginate gem in place of the
plugin by using the upload feature in the Gems & Plugins Manager. I
used that to upload the latest gem file (built from the git repo),
which then expands into the vendor dir under "gems".
Hope this helps,
/Morten
On
Nope. This wasn't resolved.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
Was this ever resolved? I am having the same problem. The
will_paginate GEM works beautifully on my machine, but it would b
great to have that functionality in Heroku. Love Heroku by the
way...
On Apr 24, 7:10 am, mikong <[EMAIL PROTECTED]> wrote:
> No problem.
--~--~-~--~~
No problem.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options
Sorry i read over it.
On 24 Apr., 03:56, mikong <[EMAIL PROTECTED]> wrote:
> I know all the steps that you've said. But I'm looking for the gem,
> NOT the plugin. As I've mentioned, the plugin README says don't use it
> because it's not updated and you should go for the gem instead.
--~--~---
I know all the steps that you've said. But I'm looking for the gem,
NOT the plugin. As I've mentioned, the plugin README says don't use it
because it's not updated and you should go for the gem instead.
--~--~-~--~~~---~--~~
You received this message because you are
I will try to explain,
go to the edit view, at the vendor folder you will find the
Gems&Plugins Item , now switch to Available in the dropdown Box and
search for will_paginate. After a few seconds you see the result and
can install the plugin. Heroku will do the rest for you. After it is
installe
How come I can't find the will_paginate gem in Heroku?
I understand that since we are just extracting the source to the
vendor directory, might as well use a plugin right?
Unfortunately, the will_paginate README says the plugin will no longer
be updated and we should use the gem instead.
--~--~-
17 matches
Mail list logo