Re: Spam

2009-06-23 Thread John McCaffrey
I triple vote for that. I want to keep up to date on heroku, but the spam really sucks. On Tue, Jun 23, 2009 at 11:12 AM, Trevor Turk wrote: > > I've read elsewhere that setting the "first post by a user must be > approved by a moderator" thingy in Google Groups can really help with > spam... >

Re: herokugarden is down again

2009-08-17 Thread John McCaffrey
ok, you've convinced me that its worth moving over. (I hope you're not like my older brother telling me 'the water's fine', only to find out that its freezing, or 'this pepper isn't hot at all') I was really excited about herokugarden, but when I was trying to convince some other people on the team

Re: HTTP Caching / Rails / etag / last modifed / varnish

2009-09-18 Thread John McCaffrey
Thanks for pointing out redbot.org, its very handy. I used it against my own heroku site prawn.heroku.com (examples of how to generate pdfs in rails with the Prawn, prawn-to libraries), and I noticed that the server times would vary as I refreshed the page. http://redbot.org/?uri=http://prawn.her

Re: Sass_on_heroku compiled css shows line number

2010-01-12 Thread John McCaffrey
I don't know if you are referring to a different plugin, but I'm using the one mentioned on the heroku blog http://blog.heroku.com/archives/2009/8/18/heroku_sass/ I put together a quick demo to show how awesome sass, haml, and formtastic are,

Re: Sass_on_heroku compiled css shows line number

2010-01-13 Thread John McCaffrey
g compass, does have line numbers in development, but not in production. On Tue, Jan 12, 2010 at 9:11 PM, Karl wrote: > > On Jan 12, 12:53 pm, John McCaffrey wrote: > > I don't know if you are referring to a different plugin, but I'm using > the > > one mentioned o

Re: Why is it mandatory to submit Credit Card Information for Add Ons ?

2010-01-13 Thread John McCaffrey
mandatory I can understand, but only supporting 3 credit card types? What's up with that? On Mon, Jan 11, 2010 at 12:05 PM, Morten Bagai wrote: > Hi Amir, > > It's mandatory because some services (smtp, for example) carry a > potential for abuse. In case of a problem or dispute we need to be

Re: Postgres tools?

2010-02-05 Thread John McCaffrey
The standard setup described on postgresql.org should work for linux or windows (mac is a different story) I'm currently in the process of trying to keep a rails app working with mysql and postgres, in an effort to stay db agnostic, 'heroku ready',

Re: Missing table error with db:push

2010-02-08 Thread John McCaffrey
I don't have a specific answer for you, but in general I would suggest using postgres locally, to make it easier to debug issues like this. That way you can rule out 'postgres' issues vs 'heroku postgres'. You'll see in other threads some various tips when migrating from mysql to postgresql, and

Re: Sass_on_heroku compiled css shows line number

2010-02-08 Thread John McCaffrey
ely, and in a particular order) now I have a version of my app deployed and working. Under this current plan, I'd have to make sure that I am pushing all of the compiled css files, which I'm not keen on, but we'll try it out and see. but it was worth the 20 mins to give it another try O

Re: App Monitoring

2010-03-25 Thread John McCaffrey
Also, the new relic add-on will give you alerts for failures and changes in response times. While this isn't the same as url monitoring, it does provide some very critical diagnostic info, including your heroku queue depth (which is very cool), and its free! I wonder if anyone has had success wit

Re: sass_on_heroku / hassle

2010-03-26 Thread John McCaffrey
I threw a quick app together to show how haml and sass can work on heroku, along with formtastic and a nice jquery dynamic styles changer here: http://mccaffrey-formtastic.heroku.com/ The project is on github here http://github.com/jmccaffrey/formtastic_sass_on_heroku Let me know if you have any

Re: Scaling limits and biggest app examples?

2010-06-14 Thread John McCaffrey
Its a good question, and one that you would want to ask of any platform you plan to host on. I just saw the heroku team at RailsConf, and they laid out some info that was pretty interesting. Here are my raw notes on their largest sites: some of their bigger apps http://www.scvngr.com

Re: Crazy slow AJAX performance

2010-08-23 Thread John McCaffrey
Sounds like an interesting problem. To recap: 1. You do not see this behavior locally in Firefox or Safari, but only when deployed to Heroku (and that's why you posted to this group) 2. Its always been this way, and nothing changed recently (new version of jquery, etc) Is this something that we c

Re: free vs. paid heroku app performance

2010-08-30 Thread John McCaffrey
If you think that its dying when the slug is being compiled, or you just want to improve your slug loading time, you might want to tell it which parts of your repo are not needed during runtime. some common things to add to your .slugignore file *.psd *.pdf test spec doc you might also

Re: postgres tuning

2011-01-13 Thread John McCaffrey
I've been working on postgres tuning for an app recently, and I was wondering if you were able to change these configs locally and see a meaningful improvement. I've seen improvements of large queries with sorts, by increasing work_mem (which can be done within your session), but other settings al

Re: Running build on heroku using Integrity

2011-01-24 Thread John McCaffrey
I tried getting integrity running on heroku a few weeks ago and ran into various issues with gem dependencies, and bailed after various trial and error attempts. the error I got was Bundler could not find compatible versions for gem "json": In Gemfile: broach depends on

Re: tailing heroku logs does not work

2011-01-24 Thread John McCaffrey
I just ran into an issue with this. I had an older version of the heroku gem, and when I tried to use the expanded logging, it would say 'not supported for your client version' gem update heroku now heroku logs --tail works and its pretty On Wed, Jan 19, 2011 at 12:45 PM, Adam Wiggins wrote:

Re: Running build on heroku using Integrity

2011-01-24 Thread John McCaffrey
uccess' message, though I'm not sure it really built. https://github.com/sandal/prawn.git will play around with it more at a later time. I am interested in all of the apps you can run on heroku, integrity, refinery, redmine, etc., and would be interested in hearing any experiences people

Re: rake db:migrate appeared to start migrating from the very beginning on two different apps.

2011-01-26 Thread John McCaffrey
Are you the same guy that is having one app point to the DATABASE_URL of another heroku app? these wouldn't be the same apps, right? (cuz, well that would be the first thing I would suspect) Prior to running your migrations you can check the migration version with: heroku rake db:version On Tue

Re: How to get Ruby 1.9.2, Rails3, and PostgreSQL going?

2011-01-26 Thread John McCaffrey
Jay, I'm in the process of going through the railstutorial.org chapters and providing some coaching for some clients of mine that want to get up to speed on rails. (and the railstutorial is a great way to do that!) I would start with the most basic steps you can, and make sure that you use rvm to

Re: Running build on heroku using Integrity

2011-02-02 Thread John McCaffrey
gt; "d" >> "error: The requested URL returned error: 401\nwarning: remote HEAD refers >> to nonexistent ref, unable to checkout.\n\nInitialized empty Git repository >> in /disk1/var/tmp/userapps/407034_fb0af09_58a6/28/.git/\n" >> "jj&quo

Re: Running build on heroku using Integrity

2011-02-04 Thread John McCaffrey
to checkout.\n\nInitialized empty Git >>>> repository in /disk1/var/tmp/userapps/407034_fb0af09_58a6/27/.git/\n" >>>> "jj" >>>> "ddddd" >>>> "error: The requested URL returned error: 401\nerror: The request

Re: App creation failing

2011-03-03 Thread John McCaffrey
basic questions that must be asked: 1. Does the app work fine for you locally? 2. Are there any gems that you think might not be registered or loading correctly? 3. did you check the logs? (heroku restart) 4. try restarting it? (heroku logs) 5. remove parts of the app, or deploy

Re: New Relic Bronze - how to install

2011-03-04 Thread John McCaffrey
you should start seeing data relatively soon. I've only added it using the UI interface though, so maybe there is a step I'm unaware of when you do it from the command line. On Thu, Mar 3, 2011 at 10:19 AM, bingobob wrote: > Bit confused on the the docs re new relic bronze.. > > I start with.

Re: New Relic Bronze - how to install

2011-03-07 Thread John McCaffrey
efore) On Fri, Mar 4, 2011 at 9:21 AM, Rupert Fisher wrote: > Thanks John, > > In the meantime I've removed the addon. > > Safe to add it again, if so shall I go via the command line or the web UI? > > Best, > > Rupert > > On 4 Mar 2011, at 15:10, John McCaffr

Re: Monitoring Server Load

2011-03-21 Thread John McCaffrey
Tom, You can start with the new relic add on, and watch response times, and queue depth. What I've done in the past is run some load tests through a local deployment to get a sense of how many requests the app can handle on a 'similar' stack (postgres, thin, etc). Then I run the same load tests

Heroku demo: Captcha tools for rails

2011-03-21 Thread John McCaffrey
I've been doing a lot of security work lately, making sure a rails app meets the security standards of a major financial institution. In addition to input scrubbing, output escaping, and making sure exceptions don't reveal too much data, I've had to implement basic captcha, to make it harder for a

Re: Guidelines for Javascript and CSS Assets

2011-03-22 Thread John McCaffrey
Here is a recent write-up that is worth taking a look at. http://jimmycuadra.com/posts/the-challenge-of-asset-packaging-on-heroku On Tue, Mar 22, 2011 at 8:57 AM, cmar wrote: > Is there a section on Dev Center on the recommended solution for > handling Javascript and CSS Assets? I haven't found

Re: Varnish and conditional GET

2011-03-23 Thread John McCaffrey
taking a look at that page using redbot.org http://redbot.org/?uri=http%3A%2F%2Fhigh-night-436.heroku.com%2Fthingies%2F1 I see that the cache is set to private, so varnish can't cache it and the max age and age are both

Most of my apps are back up...2 of them are having issues

2011-04-22 Thread John McCaffrey
at you can configure new relic to ping your app at a specified interval, and notify you if the app is not up. Thanks New Relic! (wish I would have had this installed 2 days ago!) -John McCaffrey -- You received this message because you are subscribed to the Google Groups "Heroku" group.

Re: Block - storage is not a cloud-friendly technology

2011-04-27 Thread John McCaffrey
That's a good review of EBS issues, thanks for the link. On Tue, Apr 26, 2011 at 10:41 PM, kowsik wrote: > On Tue, Apr 26, 2011 at 8:31 PM, Wes Gamble wrote: > > On 4/26/11 10:07 PM, kowsik wrote: > >> > >> On Tue, Apr 26, 2011 at 8:01 PM, Wes Gamble wrote: > >>> > >>> I would like to understa

Re: Download CSV from AWS as file, not text

2011-05-09 Thread John McCaffrey
Thanks for posting the conclusion! Posting the resolution only takes a few minutes, but its so helpful for future readers, and those of us just keeping tabs on the thread. Thanks On Fri, May 6, 2011 at 8:31 AM, batate wrote: > Here's the solution for posterity. There were two problems to solve

Re: Gzip not available on Cedar?

2011-06-03 Thread John McCaffrey
Thanks for the play by play! I didn't get a chance to try out any of my apps on it yet, but I appreciate the heads up on some of the things I might run into. At first the lack of varnish seemed like a big loss, and that it would now mean that your app server is requests that used to be served by

How to get New Relic 'Real User Monitoring' to work on Heroku?

2011-06-15 Thread John McCaffrey
I installed the new relic add on through the heroku site (not as a plugin or via bundler), and its been working fine, but now I'd like to see the end user monitoring feature they have, but it says I have to update the gem. What is the best approach for this? Technically I didn't setup the new_rel

Re: How to get New Relic 'Real User Monitoring' to work on Heroku?

2011-06-15 Thread John McCaffrey
ok, I guess all I needed to do was add this to my Gemfile, and pust it out (along with Gemfile.lock) gem 'newrelic_rpm' push it up and kick the app around for awhile, and now I see the data. On Wed, Jun 15, 2011 at 10:21 AM, Steve Smith wrote: > Hi John, > > We use the newrelic_rpm gem via bun

Re: Latency of writing in the DB

2011-06-24 Thread John McCaffrey
I would pull your prod data down locally and play with the queries to optimize them in your local postgres. (rule out any difference in behavior on the heroku stack) grab your explain output and throw it in http://explain.depesz.com/ if your conditions are easy, you can add a uniqueness constrain

Re: Deploying an app on behalf of a third party

2011-07-27 Thread John McCaffrey
Alex, Awesome idea, sign me up! I'd be curious if you can run the http://tryruby.org/ app on heroku, or follow the structure that they are using for codeschool.com, which allows you to interactively write and run code. usually you can find a way to get things to work on heroku On Wed, Jul 27, 2

Re: Cedar / Rails 3.1 / BCrypt 3.0.0 (no such file to load -- bcrypt_ext)

2011-09-02 Thread John McCaffrey
Thanks for sending out the update, that's definitely something that could trip anyone up. On Fri, Sep 2, 2011 at 7:45 AM, Matthew Bennink < matt%soomopublishing@gtempaccount.com> wrote: > This was resolved by Heroku's support team. I had accidentally included my > vendor/bundle directory in

rack 1.3.2 conflict on bamboo

2011-09-04 Thread John McCaffrey
I redeployed an app today, and started getting a "You have already activated rack 1.3.2, but your Gemfile requires rack 1.2.3. Consider using bundle exec. (Gem::LoadError)" I have a rails 3.0.3 app, and according to my Gemfile rails (= 3.0.3) depends on rack (~> 1.2.1) I looked back at my

Re: rack 1.3.2 conflict on bamboo

2011-09-04 Thread John McCaffrey
t was all good. This article got me on the right track http://devcenter.heroku.com/articles/gem-dependency On Sun, Sep 4, 2011 at 6:05 PM, John McCaffrey wrote: > I redeployed an app today, and started getting a "You have already > activated rack 1.3.2, but your Gemfile requires rack

Re: Java apps

2011-09-07 Thread John McCaffrey
Also, isn't that how things are deployed on google app engine? (just push up a war file) It would be nice if the deployment process was similar, so that users of other hosting systems could easily give heroku a try, and see how awesome it is. You may also want to checkout CloudFoundry

Re: Permission Denied (publickey) Error

2011-09-15 Thread John McCaffrey
This just means that your ssh info is not set up correctly. try: heroku keys --help and heroku keys to see if your ssh keys are setup properly. You may just have to go back through the instructions on getting you ssh keys created and available to heroku. (if the heroku docs don't help, try stacko

Re: What exactly is a dyno?

2011-10-13 Thread John McCaffrey
I don't know the specific type of process it is, but maybe we could figure out what you are looking for a different way. What will you do differently if you found out it was a daemon vs. a short process? Is there a concern you have about how one vs. the other would perform? Bonus Points: Is there

Re: How do you tell which of your Heroku apps are which?

2011-11-15 Thread John McCaffrey
if you open up the git info for the locally cloned app, you can see when it was updated. When I met with some of the Heroku people at RailsConf, I asked if they could add just a little notes field, and the date that the app was created or updated last...but apparently they have bigger fish to fry.

Re: Need rake task code and cron set up for heroku db:pull

2011-11-15 Thread John McCaffrey
Maybe rephrase that to "what is the best way to backup my data on heroku?" That might get you more answers. (I've been using a local rake task to capture a pg backup every hour, but I don't know about the mysql setup) On Thu, Nov 10, 2011 at 1:42 AM, Ravi wrote: > Hi I am new to rake. Please he

Re: Can I issue a "heroku restart" from within my app that's running on Heroku?

2011-11-15 Thread John McCaffrey
I'm interested in that as well, but if the answer ends up being 'no', perhaps your app could just capture the current state (eg. what caused it) and send out an alert. when I've had problems in the past, I've been helped by logging (logs --tail and the loggly add on) new relic exception notificati

Re: Can I issue a "heroku restart" from within my app that's running on Heroku?

2011-11-16 Thread John McCaffrey
Again, I would suggest that you try to find the real heart of the issue and find ways to debug/instrument the code to figure out what is happening that gets it stuck. Maybe opening a ticket with the heroku team may help (maybe its something they've seen, or they have a good suggestion for how to d

Re: Can I issue a "heroku restart" from within my app that's running on Heroku?

2011-11-16 Thread John McCaffrey
rt of the issue: > http://www.google.com/search?q=http%3A%3Anet+EOFError > Do you have some suggestions for me? > > Restarting the app at heroku is totally not elegant, a total hack, but > for my circumstances, your comments about scaling don't apply. > > I will follow up on

Re: How to make app only accessible through HTTPS?

2011-11-21 Thread John McCaffrey
Not sure what the official answer would be, but can you app detect the non ssl connection and redirect or refuse? On Tue, Nov 15, 2011 at 11:51 PM, Benny Tsai wrote: > Hi all, > > I have a web service (written using Clojure & Noir) that I want to make > accessible over SSL. I've enabled the Pig

Re: i can't able to deploy my database backup b004.dump file to my heroku app

2011-11-21 Thread John McCaffrey
Are you restoring a dump from the same app, or trying to move data from one heroku app to another, or from a non-heroku app up to heroku? did you try adding it from the heroku website? wouldn't the command be heroku addons:add pgbackups:basic if you've tried that, and still get account issues, is

Re: i can't able to deploy my database backup b004.dump file to my heroku app

2011-11-23 Thread John McCaffrey
Yeah I do a similar thing to back up my data from a production site to my staging/test site. on prod account # grab temp URL of the recent backup heroku pgbackups:url b016 on staging account # use that URL from above as source to restore from heroku pgbackups:restore DATABASE 'https://s3.

Re: Anyone else have a problem with status.heroku lack of information?`

2011-12-05 Thread John McCaffrey
Along those lines, is there a way to get alerts from heroku when there is an issue? This last issue had my site down for a bit, but thankfully the NewRelic alert let me know quickly, so I could get to work on routing to a backup server. Is there some heroku notification checkbox I missed somewhere

Re: heroku rake db:migrate - Internal Server Error

2011-12-22 Thread John McCaffrey
I used to just get 'internal server error' in the console when I had various syntax issues, until i updated to the latest heroku gem, now I see more useful info. See if that helps your migration. Does your migration work locally? Is it complex? (eg. doing something more than just changing table d

Re: Very simple line is not working on heroku but is fine locally

2012-01-23 Thread John McCaffrey
Is there anything special about the hierarchy for that class? is it related to any plugins? Are there other classes that you can't instantiate? Is there a commonality among them? (if its just this one, is there something special about it? can you strip out that difference and try again?) I saw a

Re: When pushing to Heroku it crashes on Installing do_sqlite3 (0.10.7)

2012-01-23 Thread John McCaffrey
You may want to just skip ahead and set up postgres locally, so that your dev environment is as close to heroku as possible. 34% of problems that people have when starting with Heroku are due entirely to not running postgres locally** And when the problems do come up, its usually in a non-obvious,

Re: Pure cloud publishing workflow GitHub/BitBucket <-> Heroku?

2012-01-23 Thread John McCaffrey
I tried cloud9 IDE and was able to make changes and push directly to heroku. I found it very cool as an emergency "I'm not at my machine, but need to make a quick fix" tool, but not something I'd want to do as part of my regular dev cycle. (yes, even with the concept of pushing to a staging server

Re: retrieve an old slug..?

2012-01-23 Thread John McCaffrey
If you committed your sqlite db locally, it might be in your git repo. If you have db backups on, you might be able to restore from a previous deployment On Tue, Jan 17, 2012 at 12:18 PM, VinnyReynolds wrote: > Hi, > > Quick question. Is it possible to retrieve an old slug, and thus a > sqlite d

Re: Heroku Labs git_submodules private repos

2012-02-14 Thread John McCaffrey
can you move your config variables out of the submodule, and load them via heroku config? Getting important authentication params out of a repo is usually one of the first things you have to do after a security analysis, so you may as well just do it now. On Fri, Feb 3, 2012 at 5:15 PM, Abe wrot

Re: Keeping your Heroku app awake

2012-02-16 Thread John McCaffrey
Once you pay for a dyno, its up all the time, so this strategy is only necessary when you are not yet paying to host your site on heroku. So I think it makes sense to take the idea of "ping the server every X min", and add a bit more to the logic of asserting that the response is correct and timel

Re: Keeping your Heroku app awake

2012-02-17 Thread John McCaffrey
I think this is a good discussion to have, in terms of appropriate use of 'free resources' to keep the plan sustainable, and "reasonable pricing for the 'little guy'" with tons of small apps that don't get daily usage. Those topics are important, but not something that will be resolved any time so

Re: heroku deployment error : bundler version

2012-02-22 Thread John McCaffrey
I don't normally see a Gemfile require another bundler what if you comment out the bundler line in your Gemfile? Also you may have to run bundle update locally, to update your Gemfile.lock file On Tue, Feb 21, 2012 at 4:34 PM, hariis wrote: > I have ruby 1.9.2 and rails 3.0.0 with bundler 1.0.

Re: Assets Precompile: Works Locally, Heroku Skips Some Files

2012-03-12 Thread John McCaffrey
To rule out a heroku specific issue, try running locally in production mode. This usually reveals an issue. if not, then try RAILS_ENV=production bundle exec rake assets:precompile On Mon, Mar 12, 2012 at 5:49 PM, Karl wrote: > Rails 3.2.2 app, on cedar, using ruby 1.9.3 with asset_sync gem to

Re: Assets Precompile: Works Locally, Heroku Skips Some Files

2012-03-19 Thread John McCaffrey
any resolution on this? On Tue, Mar 13, 2012 at 10:58 PM, Karl wrote: > Not 100% sure it is related to my other > problem, > but I'm holding out until heroku gets back with me. > > > On Monday, March 12, 2012 4:13:31 PM UTC-

Re: Assets Precompile: Works Locally, Heroku Skips Some Files

2012-03-23 Thread John McCaffrey
thanks for posting the resolution! I did not know about that difference in behavior for the .slugignore file (that's going in my notes). I also have not played around with making a buildpack yet, so my note on that is "you can create a custom buildpack to help you debug issues". Actually, if you

Re: confused about best practices for CNAME records

2012-04-03 Thread John McCaffrey
I don't think of it as heroku suggesting that you have to do it with a CNAME, but Neil's post highlights why you might want to. http://neilmiddleton.com/the-**dangers-of-a-records-and-**heroku I think of it like apple including their

Re: Cloudfront

2012-04-04 Thread John McCaffrey
I used the free account on cloudflare, and had good results. Also used unicorn with 4 workers on heroku On Wed, Apr 4, 2012 at 9:41 PM, Arun Thampi wrote: > We use Cloudfront's Custom Origin Server to point to our Rails app instead > of an S3 bucket. This removes the need to sync assets to an S

Re: postgres query help

2012-05-18 Thread John McCaffrey
I would try to reproduce it locally, and see which index combinations are best (pull down prod data if you can). You can also run the explain from the heroku console, to get feedback about how the postgres query planner is looking up the data. Most likely you need to add an index on lastreport, i

Re: Diagnosing outage

2012-06-08 Thread John McCaffrey
Also, its good to follow @herokustatus on twitter The new relic add-on has a ping feature which is useful. The StillAlive add-on goes a bit further with a full functional test (but doesn't run as frequently). On Fri, Jun 8, 2012 at 3:33 AM, Neil Middleton wrote: > You'll have trouble diagnosing

Re: Timeouts uploading with dragonfly

2012-06-22 Thread John McCaffrey
I would love some info around this problem as well. Carrierwave Direct is the only thing I'm aware of, but I hope you post whatever solution ends up working for you. On Thu, Jun 21, 2012 at 8:40 PM, Dave Perrett wrote: > Hi, we're trying to upload relatively large images (~5MB) to S3 via > her

Re: Heroku plugin for bug-tracking / code-review

2012-07-11 Thread John McCaffrey
There are other places besides github to host your code, if you are open to them. (and it doesn't annoy the team to be on something else). https://bitbucket.org has free private git repos, which might be worth a quick look (free for up to 5 people). On Tue, Jul 10, 2012 at 4:52 PM, Vighnesh Rege

Re: Using Prawn with Highcharts

2012-07-20 Thread John McCaffrey
is this a heroku problem? (like it works locally, but not on heroku?) you might get a better answer in a highcharts specific group, or on stackoverflow On Thu, Jul 19, 2012 at 9:18 PM, Bada Dayo (El nino) wrote: > Hi Friends, > > I just working on an app where users can log in, input information

Re: PDTFTK on Cedar stack

2012-10-02 Thread John McCaffrey
Thanks for sharing the info! I figured that someone would have a public buildpack of pdftk, and figured this out already. I imagine you saw this: http://stackoverflow.com/questions/7128855/statically-compile-pdftk-for-heroku-need-to-split-pdf-into-single-page-files I have an app that is hosted

Re: Search form works on local machine, but not on heroku!

2013-07-30 Thread John McCaffrey
Do you think it is the acts_as_indexed gem, and how it writes to the filesystem? https://github.com/dougal/acts_as_indexed/issues/29 try taking that out and see if you still get the error. It seems like a good place to start (or any gem that does something outside of the heroku norm) On Tue, Jul

Re: Google Maps Integration

2013-08-13 Thread John McCaffrey
everything works when you try your app locally? On Mon, Aug 12, 2013 at 10:47 PM, Oshane Bailey wrote: > For some reason, i can't comprehend as yet, Google maps is not working on > my heruko instance.. the url and so forth is correct in my api console > yet,... google maps disable its function o

Re: Issue with Google indexing caused by herokuapp domain

2013-09-09 Thread John McCaffrey
when I click or enter the naked/root domain dogiamsf.com, it resolves to http://dogiamsf.herokuapp.com/ in the browser, so it makes sense that google is seeing the same thing. You probably just need to review your dns setup and double check everything according to the docs for how to set up Root d

Re: Headless Processing on Heroku

2013-10-14 Thread John McCaffrey
I can't address your specific situation, but can recommend phantomjs instead https://github.com/stomita/heroku-buildpack-phantomjs On Mon, Oct 14, 2013 at 1:12 PM, Jack Royal-Gordon wrote: > I'm trying to scrape some websites that rely on Javascript, so I found this > article

Re: Headless Processing on Heroku

2013-10-15 Thread John McCaffrey
I use phantomJs to login/scrape data from a site, then I put that data in a db. It runs a full browser, with javascript events, ajax, etc. 1. login to a secure site, navigate to a list of orders 2. pull down data for each order and write it to a file 3. process each file and write to the database

Re: Watir on heroku

2014-04-01 Thread John McCaffrey
I like using phantomjs for scraping, though I haven't used it on heroku yet. I see there is a buildpack https://github.com/stomita/heroku-buildpack-phantomjs this example might be helpful http://benjaminbenben.com/2013/07/28/phantomjs-webserver/ On Mon, Dec 20, 2010 at 4:11 AM, Josal wrote: >

Re: Watir on heroku

2014-04-01 Thread John McCaffrey
and keep using > Rails environment for the web server? > > > On Tue, Apr 1, 2014 at 6:46 PM, John McCaffrey > wrote: > >> I like using phantomjs for scraping, though I haven't used it on heroku >> yet. >> >> I see there is a buildpack >> https

Re: 400 Bad Request When Sending Post Request

2015-08-17 Thread John McCaffrey
If you look at the logs do you see a difference in what you are sending in when it works from the form vs server post? Is it because of the security token (the hidden form value rails adds to forms) On Mon, Aug 17, 2015 at 4:37 PM, Dana Baillie wrote: > Hi we have a Ruby on Rails server applica

Re: for everyone who complete the ruby on rails tutorial by M. hartl

2015-09-21 Thread John McCaffrey
Are you missing some css or something? I would look in dev-tools in the browser to see if there are any errors. Areas to investigate: 1. Are there any files that did not get checked in? 2. Are there any css/js files that did not get properly handled by the asset pipeline? 3. Are there any errors i

Re: for everyone who complete the ruby on rails tutorial by M. hartl

2015-09-21 Thread John McCaffrey
awesome! thanks for sharing the solution, it will help the next person On Mon, Sep 21, 2015 at 2:40 PM, Juan Cabrera wrote: > I found the solution here: > > > http://stackoverflow.com/questions/16125581/heroku-messing-up-css-following-hartls-rails-tutorial > > thanks, > > Run bundle exec rake a