Displaying 20 results from an estimated 1700 matches similar to: "Getting Rack::Session::Abstract::SessionHash error with rails edge"
2010 Nov 07
0
Getting Rack::Session::Abstract::SessionHash error with rails edge
I am getting Rack::Session::Abstract::SessionHash error with rails
edge when I start server.
Code works fine with rails 3.0.1 .
What''s the fix?
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from
2010 Aug 11
6
rspec2 not working with shoulda
I am using rails edge. I am using gem "rspec-rails", "= 2.0.0.beta.
19" .
I have following code at spec/models/user_spec.rb
require ''spec_helper''
describe User do
it { should validate_presence_of(:email) }
it { should validate_presence_of(:name) }
end
Here is my gemfile
group :development, :test do
gem ''factory_girl_rails'',
2010 May 12
2
How to add an after_save callback on runtime on a particular instance
class User < AR
end
user = User.new
Let''s say that I have a user instance with me. After this record is
saved I want an after_save callback which would print the id of the
record.
The only catch is that I am not allowed to change the User class. How
can I accomplish my goal? Is that even possible to add an after_save
callback on a particular instance object. Any metaprogramming
2006 Jan 19
4
Disabling zap echo cancellor from dialplan
Anybody knows if it's possible to disable zap echo cancellor from
dialplan only for certain outbound calls ??
I share the same phone lines for voice calls and faxes. Iaxmodem works
fine for me only turning off the echo cancellor, but I need it for
voice calls.
Any ideas ?
maxx
2010 Feb 05
2
Edge Rails 3: Mongrel stuck in infinite loop, Unicorn missing uninitialized constant Rack::Runtime
Hi,
I wanted to try out Edge Rails 3 today and hit a serious problem
trying to run mongrel.
script/rails server mongrel just hangs. Interrupting and looking up
the spot of the lockup revealed
$LOAD_PATH.unshift ''projects/mongrel_experimental/lib/''
Mongrel::Gems.require ''mongrel_experimental'',
">=#{Mongrel::Const::MONGREL_VERSION}"
at the bottom
2010 Jul 17
1
not able to find to_yaml definition
I am looking at rails edge source code.
I am able to do
puts User.find.to_yaml
However I am not able to find piece of code where ''def to_yaml'' is.
How this to_yaml serialization is working?
can fully understand how to_json and to_xml is working but to_yaml
beats me.
Thanks
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2004 Jul 21
1
Bri solution for Asterisk
I'm using a Cologne chip card in my Asterisk box with zapHFC drivers
(bristuff-0.0.2). The system works well, but this way I'm not able to run
newer version of Asterisk.
Do you think it's better to use i4l support and newer version of Asterisk or
keep the bristuff with older asterisk ??
Have anyone tried chan_mISDN on a 2.6 box ? How does it run ???
2004 Jul 22
1
Daytime - Nighttime
Is it possible to build a dialplan in which shifting from daytime to
nightime is not hour based but phone driven ???
2004 Aug 01
1
Zaphfc CallerID problem...
I'm not sure that this problem is strictly related to zaphfc, but this is
what happens:
my asterisk (build on bri-stuff-0.1.0-RC2k) handles a single PCI HFC-S based
card.
I own a Cisco 7940 Sip phone (fw 7.1) and a pc running X-Lite.
Zaptel.conf and zapata.conf are taken directly from zaphfc samples.
Extension.conf contains the following lines:
[from-ISDN1]
exten=>s,1,Wait(1)
2004 Nov 30
1
Problem with a new italian service provider...
I've a problem connecting uniVoice (http://voice.uni.it) from asterisk.
Using my account data I can place a call smoothly using xlite or my
budgetone phone directly, but I'm not able to use uniVoice as a peer
from asterisk.
Registration seems to work correctly, but when I try do dial, the sip
authentication fails every time.
Their tech people told me that they are unable to make
2023 Mar 03
1
subscription, dots and subscribe to shared folder.
> On 02/03/2023 16:21 EET Julien Nadal <julien+dovecotnl at mujik.fr> wrote:
>
>
> Hello;
> We were able to set up shared folders in a cluster (using dovecot as proxy on dedicated front-end servers, without using director) by following https://doc.dovecot.org/configuration_manual/shared_mailboxes/cluster_setup/.
>
> Here is our related conf on imap farms (dovecot
2009 Mar 29
5
Rack::Lint::LintError with latest camping and rack
I''m trying to use Camping from Magnus'' repo (1.9.300) but running the
blog.rb example (or anything for that matter) gives me
Rack::Lint::LintError at /
Content-Length header was 0, but should be 548
Ruby C:/ruby-1.8.7/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/lint.rb:
in assert, line 16
Web GET localhost/
There are no errors on the camping output so I suspect something has
2012 Oct 18
4
Rack env rack.multiprocess true with single worker
Hi,
unicorn unconditionally sets rack.multiprocess to true in the Rack
environment. The Rack spec [0] says the following about the variable:
"true if an equivalent application object may be simultaneously invoked
by another process, false otherwise."
When unicorn is running with a single worker this does not hold so what
do you think about setting the variable to false when only a
2013 Aug 12
2
Passenger-Rack error 500: no such file to load -- rack
I have a puppetmaster running within passenger+rack. It has been running
properly for almost a year and decided to stop working on the weekend. Now
I''m getting the Purple "Ruby (Rack) application could not be started"
screen with
Error: no such file to load -- rack
Application: /data1/rack/puppetmaster
The backtrace is uninspiring. Snippets include:
2011 Sep 02
4
You have already activated rack 1.3.2, but your Gemfile requires rack 1.2.3.
Hi, guys,
I got the below error message when i typed this command in terminal "rackup
config.ru" , the file config.ru is rails ''s configuration file.
You have already activated rack 1.3.2, but your Gemfile requires rack 1.2.3.
Consider using bundle exec. (Gem::LoadError)
So, how should i do , thanks a lot.
--
You received this message because you are subscribed to the
2011 May 24
2
problem with rack versions and puppet-dashboard
I get this error
can''t activate rack (~> 1.0.1), already activated rack-1.2.2
It appears that puppet-dashboard uses rack 1.0.1 but passenger 3.0.7
needs to use rack1.2.2
Is there a way around this or make dashboard use rack 1.2.2?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2010 Jul 27
3
Rack in Rails
Does Rack come with Rails or do I need to install the gem?
--
Posted via http://www.ruby-forum.com/.
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2011 Mar 31
3
OT: IBM and Dell rack
Hi all, sorry for the OT.
Is IBM and Dell 42U rack compatible in dimension, rails, etc?
Can we put IBM servers into Dell rack?
Google says it depends. Much appreciated if you can share your experience.
http://www.server-racks.com/why-all-racks-are-not-created-equal.html
Thank you.
2010 Sep 03
1
Rack gem in not getting unpacked
Hi All,
my server is having rack gems as:
rack (1.2.1, 1.1.0, 1.0.1, 1.0.0)
when i run the following command in my project/vendor/gems folder:
gem unpack rack-1.0.0
It shows the following error message:
Error: Gem ''rack-1.0.0'' not installed.
Any idea on this??
Thanks,
Saurabh
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
2010 Feb 04
3
Rails / Rack version mismatch
I attempted to install rails, with these error messages:
$ sudo gem install rails
ERROR: Error installing rails:
actionpack requires rack (~> 1.0.0, runtime)
$ sudo gem install rack
Successfully installed rack-1.1.0
1 gem installed
$ sudo gem install rails
ERROR: Error installing rails:
actionpack requires rack (~> 1.0.0, runtime)
Why does gem install a current version of rack which