similar to: ActiveRecord::NoDatabaseError

Displaying 20 results from an estimated 3000 matches similar to: "ActiveRecord::NoDatabaseError"

2014 May 19
0
Can ActiveRecord::Base.connection.schema_search_path be set per process?
I am building an app that every company has it own private schema(Postgresql). For every requisition, I set the Postgres search path in a before_action like this: ActiveRecord::Base.connection.schema_search_path = 'company_id, public' If I have multiple Unicorn workers, and one worker 'A' set the path, while another work 'B' set the path before worker A has finish, I
2016 Jan 20
2
Why getFunction() of CallGraphNode return NULL function?
Dear Ashutosh, Thank you, I can handle some indirect callSites by getFunction() of InvokInst and CallInst. However, when I am handling C++ programs, I found the calls of member functions are converted to some strange indirect calls. For example: table->truncate(sysTransaction); // from mysql are translated to the next complex llvm IR: _ZN8Database20getSystemTransactionEv.exit: ;
2016 Jan 20
2
Why getFunction() of CallGraphNode return NULL function?
So, I won't know the called function statically, Right? -------------------------------------------- Qiuping Yi Institute Of Software Chinese Academy of Sciences On Wed, Jan 20, 2016 at 2:24 PM, Nema, Ashutosh <Ashutosh.Nema at amd.com> wrote: > Typically for C++ virtual function you will see an indirect callSite > (unless not de-virtualized). > > > > Regards, >
2010 Jan 13
3
Recovering a broken mirror
We have a production SunFireV240 that had a zfs mirror until this week. One of the drives (c1t3d0) in the mirror failed. The system was shutdown and the bad disk replaced without an export. I don''t know what happened next but by the time I got involved there was no evidence that the remaining good disk (c1t2d0) had ever been part of a ZFS mirror. Using dd on the raw device I can see data
2003 Dec 17
3
friday entertainment
Sometimes people call it "Magic Lubricant". Sometimes - "Power Bottle". Why? An amazing erection WITHING SEVERAL SECONDS is guaranteed to you! Double-strengthed orgasm and full satisfaction... I guess this is excatly what are waiting from sex! Your easy-to-use solution is here: [1]http://www.ghkp.us/vpoil/?utopia ----- Link below is for that people
2014 May 19
0
Missing production secret_key_base in rails
Hi, I have asked this question on github<https://github.com/rails/rails/issues/15175> . Senny answered me to set export SECRET_KEY_BASE =d1f4810e662acf46a33960e3aa5bd0 ************************ in your peoduction server. but I do not know how to set that. I am deploying in openshift. I also have access to SSH via putty. I have tried this command in SSH but it gives an error "Invalid
2014 Aug 27
0
Could not install Rmagick Gem in rails 4 (Ubuntu 13.04)
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /home/anil/.rvm/rubies/ruby-2.0.0-p481/bin/ruby extconf.rb checking for Ruby version >= 1.8.5... yes checking for gcc... yes checking for Magick-config... no Can't install RMagick 2.13.2. Can't find Magick-config in
2014 May 08
0
Rails log for rspec tests inside of an engine
Would anybody know how to do this: http://stackoverflow.com/questions/20001361/rails-log-for-rspec-tests-inside-of-an-engine ?? thanks for the help -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to
2014 Apr 06
0
collection_check_boxes with has_many through: association Rails 4
I am trying to list all the categories a user can be interested in with check boxes so that a user can submit these interests through my join table. collection_radio_buttons works with a simple has_many, belongs_to association: <%= collection_radio_buttons(:listing, :category_id, Category.all, :id, :name do |b| %> <%= b.label { b.radio_button} %> <%= b.text %>
2014 Oct 23
0
Puppet agent message: Could not retrieve local facts: Could not find fact 'define_fact'
Dear all, since today the puppet agent does not work anymore if it is executed by service. I prints out: Could not retrieve local facts: Could not find fact 'define_fact' If I run puppet agent -t I do not get the message. I have updated facter from 1.7.1 to 2.1 and hiera from 1.2.1 to 1.3.4 I have Linux RedHat 5 and 6 puppet 3.3.1 facter 2.1.0 hiera 1.3.4 ruby 1.8.7 Does any have an
2014 Mar 31
0
Rails Engine ActionController::UrlGenerationError on functional tests
Hi, I'm looking for a way to solve an error I get each times I run my functional tests. I have a Rails Engine gem (isolated), I have a JSON action with a route declared. But each times I use the method get in a test I get an ActionController::UrlGenerationError exception. Here an example of code with the problem: # config/routes.rbMyEngine::Engine.routes.draw do resources :cats, only:
2014 Mar 31
0
Unable to delete post in sample blog application
Hi All, I am new to RoR and I am writing a small blog application. I have added a Destroy / Delete link to the post index, but when I click this delete link the show action is fired. The log seems to confirm this: Started GET "/posts/2" for xxx.xxx.xxx.xxx at 2014-03-31 15:51:03 +0000 Processing by PostsController#show as HTML Parameters: {"id"=>"2"} Post
2014 Apr 17
0
RestClient::ResourceNotFound in UsersController#index
Hi, I am trying to implement Rest Api for a sample application for learning purpose. But when I try to make a "GET" request through the RestClient it is showing error as RestClient::ResourceNotFound in UsersController#index def index uri = "#{API_BASE_URL}/users.json" # specifying json format in the URl rest_resource = RestClient::Resource.new(uri, USERNAME,
2014 Apr 05
0
Datepicker FlatUI rails
Hi guys, How does one use a datepicker flatUI calendar in rails? I have been poking around for documentation, but can't seem to find any. Is there any out there? Thx! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to
2014 Mar 07
0
Abril Pro Ruby 2014 - The Tropical Ruby Conference
Hello everybody, On April 24th to 27th the biggest Ruby Conference on the Northeast of Brazil will be happening, Abril Pro Ruby <http://abrilproruby.com/>. We would like to invite you to be part of the event and share you experiences with great rubists from all over the world in Porto de Galinhas, very close to Recife. Speakers from everywhere are already confirmed to the event. Take a
2014 Mar 19
0
ActionView::Template::Error: end of file reached Rails 4.0.4
I have an application I'm migrating from Rails 3.2 to 4.0. On my CI environment, I'm getting "ActionView::Template::Error: end of file reached" randomly in different controller specs pointing to a view in which I have "javascript_include_tag 'application'". Has anyone seen this before? Relevant gems: rails (4.0.4) sprockets (2.11.0) sprockets-rails (2.0.1)
2014 Jun 03
0
How to use Rambling Slider Rails
Dear all developers, I want to use slideshow in my website. and i did a research rambling slider could use with rails. but i don't know how to use it. any one could help me. thanks you, veasna -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to
2014 May 29
0
PATH problems with running Cukes from Jenkins
I'm having PATH problems with running my Cukes from Jenkins, more details here: http://stackoverflow.com/questions/23921127/cucumber-scripts-not-working-on-jenkins-due-to-path-issues -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to
2014 Mar 27
0
Rack middleware for shared connection pools?
I have a Rails app that makes connections to other DBs. There may be multiple users connecting to multiple DBs. The app makes a database connection as part of an action. However, I noticed a problem: there's too many DB connections remaining open, which is causing the DB to not have enough connections remaining for new connections. So the answer is using a shared connection pool.
2014 Jun 06
0
puppetlabs-java: installing oracle-jdk on ubuntu trusty 14.04
Hi, puppet 3.6.1 on a vanilla trusty ubuntu server, trying to install oracle-jdk: class { 'java': distribution => 'oracle-jdk', version => 'latest', } exits with the following error: Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install oracle-j2sdk1.7' returned 100: Reading package