similar to: rails scope without raw sql

Displaying 20 results from an estimated 1000 matches similar to: "rails scope without raw sql"

2011 Sep 30
1
RoR running on Localhost but not on Heroku
Hey there, I have been following http://ruby.railstutorial.org/chapters/beginning#top since yesterday and I am going good on my machine with ROR. I have used RailsInstaller for my environment on Windows7. My two apps are working good on my localhost:3000 but as I put them into Heroku, I am getting error, respectively, http://meinkampf.heroku.com and http://smoothipod.heroku.com. I wonder
2013 May 01
3
PG gem behaves strange. It requires live DB connection to only generate a model. How to turn it off?
I used MySQL as a backend before. Now I had to move to PG since Heroku doesn''t have MySQL and forces everyone to use their Heroku-PG database. But PG virsion of Rails works diffidently. I cannot generate a model without PG server running: >> C:\ruby\Heroku\App>rails generate model Products >> >> C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-
2011 Jun 02
10
Application Error!!!!!!!!!!!!!!!!!!!!!!!
Hi everybody, Please any one help me, Previous two day''s I am googling, Still not find solution. this really frustrating. I had deploy my app on heroku http://radiationn.heroku.com/. it is working fine on localhost but i got APPLICATION ERROR. IN log wht i find that in photo.rb model not able to find "has_attached_file", I am not able to shout out this proble. It working
2013 May 17
1
Heroku - Event_Calendar - preventing assets precompile
My App is hosted currently on Heroku, and I attempted to use elevation/event_calendar <https://github.com/elevation/event_calendar> to display events because it supported multiday events. I had it working locally and looking great, but when I tried to push it to the server, it caused error during the assest precompile. This in turn brought the whole site down. I had to roll back a few
2011 Jun 01
4
missing these required gems: will_paginate
Hi EveryBody, I hope some one help me. I am new on ROR so might be problem is silly or Obvious. i had developed a project and i had use "WILL_PAGINATE" plugin in my app. It''s working well at localhost. But when deploying on HEROKU, ALL step is going well but when running $heroku rake db:migrate ERROR IS Missing these required gems: will_paginate You''re
2010 Nov 16
0
heroku not working /heroku/commands/pgbackups.rb:9:in `<class:Pgbackups>': uninitialized constant He
Hi! If i tipe heroku in console i become this: ~onemore~>heroku /home/koli/.rvm/gems/ruby-1.9.2-p0@onemore/gems/heroku-1.13.1/lib/heroku/commands/pgbackups.rb:9:in `<class:Pgbackups>'': uninitialized constant Heroku::Command::Pgbackups::Help (NameError) from /home/koli/.rvm/gems/ruby-1.9.2-p0@onemore/gems/heroku-1.13.1/lib/heroku/commands/pgbackups.rb:6:in
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 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 Oct 30
5
Fatal error: The remote end hung up unexpectedly
Hi, I''d like to create my first ROR application on Heroku but I can''t deal with one step in this tutorial: http://devcenter.heroku.com/articles/quickstart I''ve spent all my day for this and I have no idea what is wrong... I cannot deal with last one in 3th part -> Create your Heroku application What I did: I''ve installed eveything what I need 1. switch to
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/.
2014 Aug 12
3
[LLVMdev] [LNT] running LNT in 'the cloud'
On a few occasions, Daniel has mentioned running a LNT instances from a PaaS cloud. A while back I decided to see if that is possible. I am happy to report it is. In r210134 I made the necessary changes to allow LNT to run on the Heroku PaaS cloud. https://www.heroku.com The commit is all configuration changes to instruct the cloud on how to run the app. I have a live instance of LNT here:
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 Sep 10
0
Tips: workarounds to do free full-text search on Heroku :-)
Recently I started a new side-project, using some full-text search done with Solr, intending to put it on Heroku. However, I had forgotten that Heroku doesn''t allow any Solr for free! So I ripped it out and looked for alternatives, winding up with pg_search. I ran up against some problems, but figured out some workarounds, and wrote them up in a two-part blog post:
2012 Apr 07
0
RAILS HIGHCHART HEROKU PRODUCTION illegal character
HI am using Highchart on rails on heroku. View Source of : http://localhost:3000/highchart RAILS_ENV=production series: [{name: "Restaurants",pointInterval: 86400000,pointStart: 1207526400000,data: [[1325462400000, 4], [1325462400000, 5], [1325462400000, 3], [1328140800000, 5], [1328140800000, 3], [1328140800000, 4], [1330646400000, 3], View Source of :
2009 Jun 15
1
calendardateselect problem
I am using http://code.google.com/p/calendardateselect/ for my date time picker. I am using dd.mm.yyyy format (:finnish) and i am using ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS.merge! (:default => "%d.%m.%Y") ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.merge! (:default => "%d.%m.%Y %H:%M") in my enviroment. Everything is working
2009 Feb 23
0
.specification or .gemspec?
Hi, I am currently working on Heroku (herokugarden.com) and pushing to the Heroku Git repo from my local computer. I am also installing gems on local. When I install gems locally, they generate .gemspec files in a specification/ folder. However, when I push through to Heroku, it tells me that I''m missing a .specification file for that gem and that I should run ''rake
2010 Jul 03
0
** Execute environment rake aborted! Could not find table 'pages'
Hey, I''ve googled this pretty thoroughly and saw a couple people with the same issue but none of the solutions worked for me. Background: I am trying to upload my Radiant CMS site to Heroku. Location: http://morning-frost-41.heroku.com/ Problem: Well on Heroku, the thing that really stands out it: PGError: ERROR: relation "pages" does not exist Pages refers to a table within
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 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
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.