Re: Can't use the edit page

2008-07-17 Thread 罗霄
Yep, I have used Firefox 3 already.

2008/7/18 jollibee <[EMAIL PROTECTED]>:

>
> works here, in firefox 3.
>
> On Jul 18, 2:15 pm, xiuxiu <[EMAIL PROTECTED]> wrote:
> > Hi, All,
> >
> >  I can't browse my edit page while my application runs well.
> >  When I try to browse the edit page , the page tells that "We're
> > sorry, but something went wrong.". And the data page and the logs page
> > are available.
> > Has anyone met the same problems? Hope to help.
> >
> > Regards
> > Tony Luo
> >
>

--~--~-~--~~~---~--~~
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: Can't use the edit page

2008-07-17 Thread jollibee

works here, in firefox 3.

On Jul 18, 2:15 pm, xiuxiu <[EMAIL PROTECTED]> wrote:
> Hi, All,
>
>      I can't browse my edit page while my application runs well.
>      When I try to browse the edit page , the page tells that "We're
> sorry, but something went wrong.". And the data page and the logs page
> are available.
>     Has anyone met the same problems? Hope to help.
>
> Regards
> Tony Luo
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Can't use the edit page

2008-07-17 Thread xiuxiu

Hi, All,

 I can't browse my edit page while my application runs well.
 When I try to browse the edit page , the page tells that "We're
sorry, but something went wrong.". And the data page and the logs page
are available.
Has anyone met the same problems? Hope to help.

Regards
Tony Luo

--~--~-~--~~~---~--~~
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: No database.yml

2008-07-17 Thread jollibee

Finally, it works.

The problem is i didn't install rails 2.0.1 on local, so, i freeze the
rails 2.0.1 to vendor/rails, and push it to the server. If i delete
the vendor/rails, everything works find. so, i think i should add
vendor/rails to .gitignore.

Also, thanks for the information about how to commit web change.

I really like heroku. Thanks, Adam.

On Jul 18, 11:15 am, "Adam Wiggins" <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 17, 2008 at 10:13 PM, jollibee <[EMAIL PROTECTED]> wrote:
> > Also, rake console doesn't work because it cannot found the
> > 'database.yml'.
>
> Are you sure?  I just tried it and it worked fine.  By rake console, I
> mean clicking "edit" next to the app name and then selecting "rake"
> from the gear menu, not your local rake.
>
> > Another problem i got is: If i change something in the web editor, i
> > cannot get it back to my local use 'git pull' or 'heroku clone xxx'.
>
> You need to go to the revisions tab and commit your changes before you
> can git pull them.
>
> > Hope heroku will support 2.1 soon.
>
> We will. :)
>
> 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: No database.yml

2008-07-17 Thread Adam Wiggins

On Thu, Jul 17, 2008 at 10:13 PM, jollibee <[EMAIL PROTECTED]> wrote:
> Also, rake console doesn't work because it cannot found the
> 'database.yml'.

Are you sure?  I just tried it and it worked fine.  By rake console, I
mean clicking "edit" next to the app name and then selecting "rake"
from the gear menu, not your local rake.

> Another problem i got is: If i change something in the web editor, i
> cannot get it back to my local use 'git pull' or 'heroku clone xxx'.

You need to go to the revisions tab and commit your changes before you
can git pull them.

> Hope heroku will support 2.1 soon.

We will. :)

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: Is Heroku down?

2008-07-17 Thread Adam Wiggins

On Thu, Jul 17, 2008 at 8:13 PM, DAZ <[EMAIL PROTECTED]> wrote:
> I get nothing when I go to heroku.com

Try:

http://downforeveryoneorjustme.com/heroku.com

--~--~-~--~~~---~--~~
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: No database.yml

2008-07-17 Thread jollibee

I rename the file to 001_create_xxx, and do 'git push', the error
still happens.

Also, rake console doesn't work because it cannot found the
'database.yml'.

Another problem i got is: If i change something in the web editor, i
cannot get it back to my local use 'git pull' or 'heroku clone xxx'.

Hope heroku will support 2.1 soon.


Total 4 (delta 0), reused 0 (delta 0)
refs/heads/master: a89127d8f7747b811772449e62ce19f8ccc6 ->
be24aa8cf330f48d2899a451a3a4e51e56289cf4
HEAD is now at be24aa8... ok
Running migrations...
rake aborted!
No such file or directory - /mnt/home/userapps/24433/config/
database.yml

(See full trace by running task with --trace)
(in /mnt/home/userapps/24433)
App restarting...

100.0%

Deployed to http://joke.heroku.com
D:joke devon$ ls db/migrate/
001_create_jokes.rb


On Jul 18, 2:58 am, "Adam Wiggins" <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 17, 2008 at 12:27 AM, jollibee <[EMAIL PROTECTED]> wrote:
> > Running migrations...
> > rake aborted!
>
> Trying to run the migration through the rake console in the web
> editor, it looks like the problem here is that you've got Rails
> 2.1-style migrations in the app.  Try renaming them to the 001_ style
> of naming for now.
>
> I notice, however, that your main table is already in the app, so the
> app does work fine.  We'll have support for the newer style of
> migrations very soon.
>
> 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: www in domain

2008-07-17 Thread sbfaulkner

As a related request, I'd like to be able to associate multiple domain
names with one application...

For example, www.domain.com and blog.domain.com could both be CNAMEd
to heroku.com and them a single application could direct the url as
appropriate.

On Jul 17, 5:54 am, "Paul Gallagher" <[EMAIL PROTECTED]> wrote:
> Hi Morten,
>
> please +1 that request!
>
> I had a similar requirement coming up, and was going to ask the same
> question. But in my case it is specifically to support "multi-teneted"
> applications. If you look around, you can find quite a few examples of this
> in the wild.
>
> e.g. if I am running a site called:
> abc.heroku.com
>
> .. but wish each member/company registered on my site to have their own
> space in the domain name I would want:
> companyx.abc.heroku.com
> companyy.abc.heroku.com
>
> .. instead of something more conventional like:
> abc.heroku.com/companies/companyx
> abc.heroku.com/companies/companyy
>
> The difference is really one of branding, but may be really significant if I
> am trying to lure corporate clients.
>
> NB: I assume the same problem applies even if the heroku app has been
> blessed and has its own domain name?
> i.e.
> abc.com - ok
> companyx.abc.com - not ok
> companyx.abc.com - not ok
>
> Regards,
> Paul
>
> On Thu, Jul 17, 2008 at 1:25 PM, Morten Bagai <[EMAIL PROTECTED]> wrote:
>
> > Hmm... I don't think we ever anticipated anybody wanting/needing
> > that. It doesn't seem like a conventional way of using subdomains to
> > me. I'll make note of it as a feature request for now.
>
> > Best,
>
> > /Morten
>
> > On Jul 16, 2008, at 8:58 PM, Abolfazl wrote:
>
> > > yes it's correct. that is my question.
> > > why don't that work?
>
> > > On Jul 15, 1:04 am, Morten Bagai <[EMAIL PROTECTED]> wrote:
> > >> Do you meanwww.yourappname.heroku.com?Thatwon't work - I don't
> > >> think we were anticipating anyone would actually want to use that
> > >> format. I want to make sure I understand your question right, so
> > >> please let me know if this answers it.
>
> > >> /Morten
>
> > >> On Jul 11, 2008, at 11:09 PM, Abolfazl wrote:
>
> > >>> when i add www in domain name in my browser my web app is not
> > >>> opened.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Is Heroku down?

2008-07-17 Thread DAZ

I get nothing when I go to heroku.com

DAZ
--~--~-~--~~~---~--~~
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: yaml to mysql?

2008-07-17 Thread Adam Wiggins

On Thu, Jul 17, 2008 at 10:36 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Is there a way to tell it to load to the production database?

RAILS_ENV=production rake db:data:load

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: No database.yml

2008-07-17 Thread Adam Wiggins

On Thu, Jul 17, 2008 at 12:27 AM, jollibee <[EMAIL PROTECTED]> wrote:
> Running migrations...
> rake aborted!

Trying to run the migration through the rake console in the web
editor, it looks like the problem here is that you've got Rails
2.1-style migrations in the app.  Try renaming them to the 001_ style
of naming for now.

I notice, however, that your main table is already in the app, so the
app does work fine.  We'll have support for the newer style of
migrations very soon.

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: yaml to mysql?

2008-07-17 Thread [EMAIL PROTECTED]

Oh it worked :) But I have a question.

I went to the rake console on heroku and typed rake db:data:dump

Then I copied the data.yml file to local rails db folder. Then I
installed the yamldb plugin
script/plugin install http://opensource.heroku.com/svn/rails_plugins/yaml_db

Then, I did rake db:data:load

And it loaded to the development mysql database.
Is there a way to tell it to load to the production database?

Thanks :)


On Jul 17, 9:27 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi, Is there a way to import the data from a heroku app to a local app
> that uses mysql? I tried the reverse of import process but it didn't
> seem to work.
>
> Any guidance would be much appreciated. 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, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



yaml to mysql?

2008-07-17 Thread [EMAIL PROTECTED]

Hi, Is there a way to import the data from a heroku app to a local app
that uses mysql? I tried the reverse of import process but it didn't
seem to work.

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



Re: www in domain

2008-07-17 Thread Paul Gallagher
Hi Morten,

please +1 that request!

I had a similar requirement coming up, and was going to ask the same
question. But in my case it is specifically to support "multi-teneted"
applications. If you look around, you can find quite a few examples of this
in the wild.

e.g. if I am running a site called:
abc.heroku.com

.. but wish each member/company registered on my site to have their own
space in the domain name I would want:
companyx.abc.heroku.com
companyy.abc.heroku.com

.. instead of something more conventional like:
abc.heroku.com/companies/companyx
abc.heroku.com/companies/companyy

The difference is really one of branding, but may be really significant if I
am trying to lure corporate clients.

NB: I assume the same problem applies even if the heroku app has been
blessed and has its own domain name?
i.e.
abc.com - ok
companyx.abc.com - not ok
companyx.abc.com - not ok

Regards,
Paul

On Thu, Jul 17, 2008 at 1:25 PM, Morten Bagai <[EMAIL PROTECTED]> wrote:

>
> Hmm... I don't think we ever anticipated anybody wanting/needing
> that. It doesn't seem like a conventional way of using subdomains to
> me. I'll make note of it as a feature request for now.
>
> Best,
>
> /Morten
>
> On Jul 16, 2008, at 8:58 PM, Abolfazl wrote:
>
> >
> > yes it's correct. that is my question.
> > why don't that work?
> >
> > On Jul 15, 1:04 am, Morten Bagai <[EMAIL PROTECTED]> wrote:
> >> Do you meanwww.yourappname.heroku.com?That won't work - I don't
> >> think we were anticipating anyone would actually want to use that
> >> format. I want to make sure I understand your question right, so
> >> please let me know if this answers it.
> >>
> >> /Morten
> >>
> >> On Jul 11, 2008, at 11:09 PM, Abolfazl wrote:
> >>
> >>
> >>
> >>> when i add www in domain name in my browser my web app is not
> >>> opened.
> > >
>
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---