ActionView Error - application can not find partial even thou it exist

2008-06-12 Thread IE

Hello,


My app is complaining that it won't find partial 'index'  (app/views/
messages/_index.html.erb). I've tried with prefix 'messages/' and
without. Doesn't make a difference.

Seem to works with normal HTTP GET request, but fails on the calls
done via periodically_call_remote (with :method = :get)

Everything works locally on two diffrent machines (one running win32XP
on running latest OS X).

Is this a bug?

Error log:
http://pastie.org/private/wskmonwwws7pyejuz2btqg

Controller:
http://pastie.org/private/cl7n4qwylroe7y9hukpmpw

--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: ActionView Error - application can not find partial even thou it exist

2008-06-12 Thread justindz

Just out of curiosity, and so I can try to help, why are you using a
template in the html response and a partial in the js response?  Are
they different files?  The error doesn't look like it's complaining
about the partial but is actually complaining about trying to find a
template file (which may have different mapping rules).

On Jun 12, 6:29 am, IE [EMAIL PROTECTED] wrote:
 Hello,

 My app is complaining that it won't find partial 'index'  (app/views/
 messages/_index.html.erb). I've tried with prefix 'messages/' and
 without. Doesn't make a difference.

 Seem to works with normal HTTP GET request, but fails on the calls
 done via periodically_call_remote (with :method = :get)

 Everything works locally on two diffrent machines (one running win32XP
 on running latest OS X).

 Is this a bug?

 Error log:http://pastie.org/private/wskmonwwws7pyejuz2btqg

 Controller:http://pastie.org/private/cl7n4qwylroe7y9hukpmpw
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: App now starting ...

2008-06-12 Thread justindz

Usually when this happens to me, I've pooched something so badly/
subtly that Mongrel is having trouble starting up.  Sometimes this is
a bug in my environment file or something.  I would first look in your
logs to see if you can find a trace of where the problem originates
and then if that doesn't work I would suggest looking at any changes
you recently made to routing, environments config, etc. for introduce
typos or bugs and pay attention to the syntax check feature to make
sure it's reporting that the files are okay inside Heroku.

On Jun 11, 4:55 pm, Nat [EMAIL PROTECTED] wrote:
 My application start page seems to be starting forever ... May be I
 goofed somewhere?

 It's neither giving an error nor working. Can someone who has faced a
 similar problem let me know what their recourse was? Thank you.
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Generate Model Not Working

2008-06-12 Thread Dan

Hi,

I'm just getting started Heroku. I have created an app and am trying
to generate a model with the Generate command: model Page. I keep
getting the error stating something went wrong. Am I doing something
wrong or is there a problem with the Heroku generator?
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Generate Model Not Working

2008-06-12 Thread Dan

Hrm. I just created a new Heroku app and without making any other
changes first I generated the model just fine with no problems. The
only other thing I had done to the previous app was add an app/views/
layouts/application.rhtml file, a public/stylesheets/main.css file, an
app/views/layouts/_menu.rhtml file, and uploaded some images into
public/images. I'm following along with the book Practical Rails
Social Networking Sites. Is there any reason these changes would
prevent the generator from working?

On Jun 12, 9:53 am, Dan [EMAIL PROTECTED] wrote:
 Hi,

 I'm just getting started Heroku. I have created an app and am trying
 to generate a model with the Generate command: model Page. I keep
 getting the error stating something went wrong. Am I doing something
 wrong or is there a problem with the Heroku generator?
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Generate Model Not Working

2008-06-12 Thread justindz

Those changes would not have impacted model generation.  Perhaps you
hit a momentary issue.  Did you try it again after a few minutes just
in case?  The only other thing I could think might be that Page is
somehow are reserved word but I doubt that's true and if you used the
same name in your new app then it certainly isn't true.

Either way, glad you're up and going.

On Jun 12, 10:01 am, Dan [EMAIL PROTECTED] wrote:
 Hrm. I just created a new Heroku app and without making any other
 changes first I generated the model just fine with no problems. The
 only other thing I had done to the previous app was add an app/views/
 layouts/application.rhtml file, a public/stylesheets/main.css file, an
 app/views/layouts/_menu.rhtml file, and uploaded some images into
 public/images. I'm following along with the book Practical Rails
 Social Networking Sites. Is there any reason these changes would
 prevent the generator from working?

 On Jun 12, 9:53 am, Dan [EMAIL PROTECTED] wrote:

  Hi,

  I'm just getting started Heroku. I have created an app and am trying
  to generate a model with the Generate command: model Page. I keep
  getting the error stating something went wrong. Am I doing something
  wrong or is there a problem with the Heroku generator?
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Difficult deleting public/index.html from the Browser-based Code Editor

2008-06-12 Thread Rev. Dan
Howdy,
My guess is that my problem could be coded as id-10-T, but I cannot seem to
figure out how to delete the public/index.html file using the Heroku Code
editor in my browser.

Is there a wiki or some sort of Heroku for Morons resource that I can
peruse instead of publicly broadcasting my own ignorance?  (The almighty
power of Google is showing me blog entries, etc., but not a centralized bit
of documentation.)

Best regards and much thanks,

- Dan

--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Oniguruma support?

2008-06-12 Thread ldk

Any thoughts? If Oniguruma isn't supported by Heroku is there another
server-side syntax coloring package/plugin that would work? I'm
looking for a package that not only colors ruby syntax but also c,
python etc.

On Jun 5, 9:53 am, ldk [EMAIL PROTECTED] wrote:
 I'm in the process of 
 installinghttp://github.com/arya/tm_syntax_highlighting/tree/master
 , a plugin for adding syntax coloring. However, it requires oniguruma
 to be installed (a program that might be standard in ruby 1.9). I was
 wondering if Heroku already has Oniguruma installed and if not could
 you install it?

 http://www.geocities.jp/kosako3/oniguruma/
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Generate Model Not Working

2008-06-12 Thread Dan

While I wouldn't call it momentary because it was an issue for quite
awhile, I just tried it again with the original app and it just
worked. So the issue seems to be resolved.

Thanks for your help.


On Jun 12, 10:33 am, justindz [EMAIL PROTECTED] wrote:
 Those changes would not have impacted model generation.  Perhaps you
 hit a momentary issue.  Did you try it again after a few minutes just
 in case?  The only other thing I could think might be that Page is
 somehow are reserved word but I doubt that's true and if you used the
 same name in your new app then it certainly isn't true.

 Either way, glad you're up and going.

 On Jun 12, 10:01 am, Dan [EMAIL PROTECTED] wrote:

  Hrm. I just created a new Heroku app and without making any other
  changes first I generated the model just fine with no problems. The
  only other thing I had done to the previous app was add an app/views/
  layouts/application.rhtml file, a public/stylesheets/main.css file, an
  app/views/layouts/_menu.rhtml file, and uploaded some images into
  public/images. I'm following along with the book Practical Rails
  Social Networking Sites. Is there any reason these changes would
  prevent the generator from working?

  On Jun 12, 9:53 am, Dan [EMAIL PROTECTED] wrote:

   Hi,

   I'm just getting started Heroku. I have created an app and am trying
   to generate a model with the Generate command: model Page. I keep
   getting the error stating something went wrong. Am I doing something
   wrong or is there a problem with the Heroku generator?
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Difficult deleting public/index.html from the Browser-based Code Editor

2008-06-12 Thread totdt

Ok, I'm dim... one clicks the down-arrow next to the file's name and
is presented with a dropdown.  I hate it when I miss stuff that
obvious.

I'm going to have a cup of coffee before I ask a question next
time.  ;)

Best regards,

- Dan


On Jun 12, 8:57 am, Rev. Dan [EMAIL PROTECTED] wrote:
 Howdy,
 My guess is that my problem could be coded as id-10-T, but I cannot seem to
 figure out how to delete the public/index.html file using the Heroku Code
 editor in my browser.

 Is there a wiki or some sort of Heroku for Morons resource that I can
 peruse instead of publicly broadcasting my own ignorance?  (The almighty
 power of Google is showing me blog entries, etc., but not a centralized bit
 of documentation.)

 Best regards and much thanks,

 - Dan
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Difficult deleting public/index.html from the Browser-based Code Editor

2008-06-12 Thread IE

Don't worry. Took me long time to figure out as well! =)

On Jun 12, 8:53 pm, totdt [EMAIL PROTECTED] wrote:
 Ok, I'm dim... one clicks the down-arrow next to the file's name and
 is presented with a dropdown.  I hate it when I miss stuff that
 obvious.

 I'm going to have a cup of coffee before I ask a question next
 time.  ;)

 Best regards,

 - Dan

 On Jun 12, 8:57 am, Rev. Dan [EMAIL PROTECTED] wrote:

  Howdy,
  My guess is that my problem could be coded as id-10-T, but I cannot seem to
  figure out how to delete the public/index.html file using the Heroku Code
  editor in my browser.

  Is there a wiki or some sort of Heroku for Morons resource that I can
  peruse instead of publicly broadcasting my own ignorance?  (The almighty
  power of Google is showing me blog entries, etc., but not a centralized bit
  of documentation.)

  Best regards and much thanks,

  - Dan
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: heroku_user thinks I can_edit? is false

2008-06-12 Thread Morten Bagai

Hi Alex,

This should be fixed now. Please drop me a line if you continue to  
experience problems with this.

/Morten

On Jun 12, 2008, at 10:03 AM, Alex Wayne wrote:


 I have an app thats been using the heroku_user construct for simple
 administration login.  This used to work great, until I found that I
 was no longer granted admin privileges as of yesterday.  If I inspect
 the heroku_user object, I see that @can_edit is false.

 The email of that user clearly matches the email I am using to login
 in, and I can edit the code and do other things in the app's control
 panel, but heroku_user still thinks I am not allowed to edit.

 On a, what might be related note, I can no longer push code to my git
 repo either.  I get a Permission denied (publickey). error now.

 Any ideas?
 


--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Scaleable File Storage with HerokuAssets

2008-06-12 Thread Eaden McKee

Hi there,

On Thu, Jun 12, 2008 at 10:46 AM, Morten Bagai [EMAIL PROTECTED] wrote:
 We've got a cool new feature for you called HerokuAssets.

Can I ask what is the point of using this over S3 directly?

Best Regards
Eaden McKee

--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Scaleable File Storage with HerokuAssets

2008-06-12 Thread Adam Wiggins

On Thu, Jun 12, 2008 at 5:49 PM, Eaden McKee [EMAIL PROTECTED] wrote:
 Can I ask what is the point of using this over S3 directly?

Sure.  The answer is: easy of setup.  You don't need to establish an
Amazon account, install anything, or do any configuration.  You just
start using it.

But if you're already using S3 to store your assets, or want to do a
lot of access/management on them from places other than your Heroku
app, then I recommend continuing to use S3 directly.

Adam

--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Git Error: Resource temporarily unavailable fatal: The remote end hung up unexpectedly

2008-06-12 Thread Mark

So far so good, it has been a while now.  Nice job.

On Jun 6, 8:19 pm, Adam Wiggins [EMAIL PROTECTED] wrote:
 I think I may have solved the git push / ssh problem.  (Turned out to
 be a pretty gnarly one.)  Post here if you see it again.

 Adam
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: google webmaster tools finding status 302 on robots.txt

2008-06-12 Thread Mark

Googlebot is getting status 302 occasionally it seems (according to
webmasters tools) on other pages that never should redirect.  I can
never reproduce this myself.  I'm not sure if there is a way to log/
trace this.  It seems to be recurring though.
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: google webmaster tools finding status 302 on robots.txt

2008-06-12 Thread Mark

If it helps...one of the files that got status 302 was /javascripts/
prototype.js

A little odd.

On Jun 12, 9:13 pm, Mark [EMAIL PROTECTED] wrote:
 Googlebot is getting status302occasionally it seems (according to
 webmasters tools) on other pages that never should redirect.  I can
 never reproduce this myself.  I'm not sure if there is a way to log/
 trace this.  It seems to be recurring though.
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Inspect button on heroku toolbar broken.

2008-06-12 Thread Colin Curtin

I get this in firebug:
$(heroku_overlay).visible is not a function

in heroku_toolbar.js line 13

Hmm?
--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---