search for: nastyukhin

Displaying 7 results from an estimated 7 matches for "nastyukhin".

2010 Jun 21
9
[BUG] Segmentation fault
First of all, I use RVM and I installed ruby-1.9.2-head, which I used to create a new rails3 gemset. Then I changed to that gemset with rvm use 1.9.2-head@rails3 and I ran bundle install over the following Gemfile: source ''http://rubygems.org'' gem ''rails'', ''3.0.0.beta4'' gem ''sqlite3-ruby'', :require =>
2010 Jun 15
2
ActiveRecordConnection from jobs script
Hi, I make a cron jobs and I would like to use ActiveRecord. but I have this error: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'': ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished) Do I have to require
2010 Jun 02
10
Session, memory_store & NoMethodError
Hy everybody, first, excuse me for my english, I''m french (sorry for that :D). My actual problem is that I encountered a [b]NoMethodError[/b] when I tried to access to a session value that is not nil. I''m doing some ajax calls and I afffect the key/value and access to session variable in the same controler "injection_controller.rb". I also access to session in a view
2010 Jun 06
3
running passenger + nginx
hi guys, Assuming I made some changes to the source code. My production environment runs on passenger and nginx. How do I restart passenger and nginx with minimal downtime? Surely I can''t do a "w" on the terminal because a server will not always be in zero load. Would love to hear some recommendations. PS- I have read on unicorn
2010 Mar 04
25
how to share variables in data migrations (up/down)
hi there, How do we share variables in a given data migration? For example, the code below fails to work because "statuses" don''t seem to be in scope for both up and down. class AddDefaultValuesToStatuses < ActiveRecord::Migration statuses = [ { ''details'' => ''details'', }, {
2010 Jun 21
4
Unknown action No action responded to 2. Actions: show
I''m trying to create a simple RoR application that shows me the records inside my table, provided that it is an example I''m working on the "Head First Rails" book. When I try to retrieve the record I get the following message: "Unknown action No action responded to 2. Actions: show" Why am I having that? And, how can I fix this issue? Provided that: 1- I
2010 Jul 08
25
Prepared SQL statements
Dear all great developers. I wonder if there is any work being done or thoughts being shared regarding prepared SQL statements. Currently I am in heavy need of tuning SQL INSERTS that insert large (3MB) images into blobs. I am using rails 2.3.5 with postgres adapter and pg driver. Any information would be appreciated. Jarl -- You received this message because you are subscribed to the