Displaying 20 results from an estimated 1000 matches similar to: "Heroku db id Starting with 1000"
2012 Dec 08
9
link_to popup
Hello All,
I have a link. Which I want to open as a new window :-
<%= link_to "Google", "https://www.google.com", :popup =>
[''new_window_name'',''toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes'']
%>
But it is opening in the same page....
Any suggestions how to do it ??
Even hover will be
2013 Jul 09
5
whenever gem
Hello All,
I want to schedule a mail every day.
I used whenever gem.
I added gem ''whenever'' in my gemfile. Then in the terminal I did -
"whenever ." which created a schedule.rb.
In schedule.rd I added this piece of code:-
set :environment, "development"
every 2.minutes do
runner "UserMailer.some_method"
end
Does it get invoked
2013 Jun 05
1
Link_to image_tag popup
Hello All,
How can I add a popup in link_to image_tag?
I am trying as :-
<%= link_to image_tag(@user.avatar.url(:small)), ''/users/edit'',
:popup=>[''original_image'', ''height=700,width=900''] %>
It goes to the edit page. But it doesn''t opens popup.
Is this the correct way to call a popup?
How can I achieve this?
Thanks,
2009 Sep 11
4
heroku gem and two different heroku accounts
Heroku support works so slowly I want to ask community.
1)I have a problem with switching between my two heroku accounts on the
same laptop. All of the commands execute from one of these, but I want
to execute it from another. Howto switch user to another heroku account?
2) how to treat my ubuntu to default for the heroku.com?
--
Posted via http://www.ruby-forum.com/.
2013 May 25
1
Mysterious Application Error on Heroku
I converted my app to rails 4. My test suite is green and it runs great
locally. I then deploy to Heroku and it crashed with no information at
all.
It just says "Application Error. An error occurred in the application
and your page could not be served"
Heroku logs don''t give any info either:
-------------------------------------------------------------
2010 Dec 11
3
Why doesn't Heroku show the Rails default page?
Following chapter (1) of the Ruby on Rails tutorial:
http://railstutorial.org/, I was able to successfuly push the
application to "Heroku" using:
> git push heroku master
But, when I open the website, I get a page with the following:
App crashed
This application is temporarily offline.
If you''re the administrator of this app, please check your heroku logs
for the backtrace.
2012 Dec 01
4
heroku deployment
i want to deploy two rails application in heroku..so how can i deploy two
application with one account in heroku and github..i am little confused
that i have to take two rsa public key or how..thanks in advance
--
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
2011 Nov 13
1
How do you execute "rails runner" in Heroku?
I''m going through the 4th edition of the book _Agile Web Development
in Rails_.
One of the exercises involves automatically creating 100 orders. The
command to run locally is "rails runner script/load_orders.rb". I
have no problems here - it works.
What''s the command for running this in the deployed Heroku application?
--
You received this message because you
2011 Aug 06
2
No javascript runtime on Heroku
Hello all,
I developed an app using Rails 3.1 and uploaded it to heroku. When I
typed rake db:migrate , I got the following error:
Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs
for a list of available runtimes.
Does heroku support Rails 3.1? They seem to have no Javascript runtime
env''s like nodejs on their machine!
--
You received this message
2012 May 03
2
Can't push to Heroku
I wanna push my application straight from Github to Heroku. Everything
goes through until it hits the installation of the gems. It can''t
install the SQLite3 (local DB).
I know Heroku doesn''t use SQLite but I didn''t expect this problem.
The error messages recommended installing a version of SQLite3
(v1.3.6) which I did
but it keeps on complaining :(. Any workaround?
2012 Oct 05
2
heroku rake db:drop error PG::Error: FATAL: permission denied for database "postgres"
How to empty DB in heroku<http://stackoverflow.com/questions/4820549/how-to-empty-db-in-heroku>
I have a Postgres database on Heroku. It is one of the free beta ones.
Locally, when testing, I often run rake db:drop && rake db:create && rake
db:migrate as a way to reset the database.
However, when I try to run this on Heroku, I get the error:\[code\]Couldn''t
drop
2012 Dec 28
3
git push heroku master error
allo vous tous vois l''erreur
Counting objects: 66, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (52/52), done.
Writing objects: 100% (66/66), 26.30 KiB, done.
Total 66 (delta 3), reused 0 (delta 0)
-----> Ruby/Rails app detected
-----> Installing dependencies using Bundler version 1.3.0.pre.2
Running: bundle install --without development:test
2011 Jun 01
1
git push heroku master - has error
I am trying to put my app on heroku, following the instructions, when
I get here I get this error:
$ git push heroku master
Enter passphrase for key ''/c/Users/Laurence/.ssh/id_rsa'':
Counting objects: 277, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (246/246), done.
Read from remote host heroku.com: The connection was aborted
fatal: sha1 file
2011 Jan 24
3
CSV::parse with named columns error on Heroku
The following code works locally (parsing a CSV with specific headers) but
when on Heroku I get the following error on the ''next if'' row:
TypeError (can''t convert String into Integer)
CSV.parse(File.open(file_path, ''r'').read.gsub(/"/, ''''), :headers =>
true) do |row|
next if row[''Customer'']
2012 Oct 10
1
Rubymine Install Missing Gems
Hello All,
I am using JRuby in Linux Ubuntu 10.10.
In Rubymine IDE, I am getting as "Install Missing Gems" link. After
clicking on that link, I am getting this error :-
Installing pg (0.14.1) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension.
checking for pg_config... yes
Using config values from /usr/bin/pg_config
2011 Sep 24
4
Heroku Slugsize shot up drastically
Hi,
Locally my application is 7MB without tests and logs, etc. The .git
folder is 29 MB. I also have no gems / plugins in vendor folder. 95%
of images sit on S3. However on committing to Heroku it shows ----->
Compiled slug size is 62.7MB
What is wrong? It happened?
To add more context my .gitignore file is .bundle, db/.sqlite3, config/
database.yml, log/.log, tmp/, .idea, .redcar,
2011 Aug 03
2
FYI: Heroku Cedar, pg, openssl, omniauth, troubles and a solution
Hi guys,
I found a really nasty issue that affects people running on Heroku''s cedar
stack. We are using Rails 3.1.rc5, pg 11, omniauth 2.6. Ruby is 1.9.2.180p
Basically there is an incompatibility between the http, pg and OpenSSL
modules which segfaults when making https calls, for example to log in
through twitter. Now pg is a required gem when using Heroku cedar stack so
leaving that
2010 Dec 10
2
News: Heroku bought: Salesforce wants some Ruby love: $212m goes a long way
News to me. Probably worth considering when choosing your deployment
options.
http://www.theregister.co.uk/2010/12/09/salesforce_why_buy_heroku/print.html
Dreamforce 2010 Why would a company that spent 10 years delivering CRM
as a service drop $212m in cash and $27m in stock on a 30-person
startup that hosts Ruby on Rails apps for devs on Amazon?
Salesforce.com vice president of technology and
2011 Sep 13
1
Heroku failed to push: fatal: sha1 file '<stdout>' write error: Invalid argument
When I try to push my app to Heroku I get this error:
OCA@OCA-PC /c/rails/oca (master)
$ git push heroku master
Enter passphrase for key ''/c/Users/OCA/.ssh/id_rsa'':
Counting objects: 913, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (797/797), done.
Read from remote host heroku.com: Connection reset by peer
fatal: sha1 file
2011 Aug 09
5
Sqlite 3 install error on Heroku, Rails 3.1
Hello Rails people.
I tried to push a Rails 3.1 app ( created using cedar stack) to Heroku
and I encountered the following error
Installing sqlite3 (1.3.4) with native extensions Unfortunately, a
fatal error has occurred. Please report this error to the Bundler
issue tracker at https://github.com/carlhuda/bundler/issues so that we
can fix it. Thanks!