Displaying 20 results from an estimated 20000 matches similar to: "(no subject)"
2006 Jan 27
3
Problem setting multi-value cookie
I''m trying to set a multi-value cookie but for some reason it''s not
working. Any help would be appreciated.
cookies[:user] = { :value => {:email=>params[:login][:email],
:passwd=>params[:login][:passwd]}, :expires => 30.days.from_now, :path
=> "/login"}
--
Thiago Jackiw
2006 Feb 01
3
Problem using form_remote_tag and multipart
I have a form and e file field, and what I''m trying to do is when the
file is uploaded, a div shows the uploaded image using ajax, without
refreshing the page. But the problem I''m having is that with
form_remote_tag it won''t accept :multipart => true. Any ideas?
Thanks a lot
2006 Aug 05
2
Frustrating locale setting error
Hi all,
This has been very frustrating for me trying to get this acts_as_ferret
working well on a Fedora box. On my mac it works great, no problems with
locale, but when I put the code live on my Fedora server, it complains
about the locale setting (Error occured at <analysis.c>:498 Error:
exception 2 not handled: Error decoding input string. Check that you
have the locale set
2006 Feb 07
2
Browser Detection
How can I detect the user''s browser in Rails?
Thanks.
2006 Nov 20
22
Index only partially built
I have an application which I''m running using Mongrel and Apache as
described here http://www.napcs.com/howto/rails/deploy/.
I have a model Person which I am attempting to use acts_as_ferret with.
When I first try to do a search the index begins to get built but it its
fails halfway through with the following error in the browser:
===
Proxy Error
The proxy server received an invalid
2006 Jan 20
2
Creating thumbnail on the fly
I was doing some research about creating thumbnail images on the fly
after an image has been uploaded in a form, but for some reason it''s not
working for me. I''ve downloaded ImageMagick 6.2.5 for Mac but when I run
a test (identify image.gif) it gives me this error:
dyld: Library not loaded: /sw/lib/libjpeg.62.dylib
Referenced from: /Developer/ImageMagick-6.2.5/bin/identify
2008 Apr 26
1
Best cron job method for email notifications?
There are so many ways to do cron jobs in Rails (Backgroundrb, script/
runner, etc.) but I am wondering what would be the best to use in
production, just for sending out email/SMS notifications? For example,
an email automatically gets sent a day before the due date of a
project milestone.
Thanks for the help!
--~--~---------~--~----~------------~-------~--~----~
You received this message because
2006 Nov 28
17
Index not being updated
My index is not being updated when I add new records or amend existing
ones.
Can anyone point me in the direction of where I should be looking for
what is going wrong?
I''m running this in the production environment.
--
Posted via http://www.ruby-forum.com/.
2012 May 21
2
Error : can't dup NilClass, in Heroku
Hi,
The application is deployed on Heroku, is based on Ruby 3.2.1 and Rails
1.9.2. Sometimes a function of my props starts throwing this error "
StringUtils:dateTimeFromString, str , *can''t dup NilClass*" and I don''t
understand the cause. it''s my function:
require ''time''
module StringUtils
2010 Oct 20
9
puppetd 0.25.4 with puppetmaster 0.24.8?
Our puppetmaster runs 0.24.8 on Ubuntu 9.10. Our clients are either
Ubuntu 9.10 or Ubuntu 8.04.
We''ve just brought up our first Ubuntu 10.04 machine. This machine
installs puppetd 0.25.4.
The Ubuntu 10.04 machine can''t seem to present it''s certificate request
properly.
In my masterhttp.log, I see
[2010-10-20 13:09:06] 174-143-141-55.static.cloud-ips.com - -
2007 Mar 30
3
still unable to add new nodes?
I updated to 0.22.3-1 from the dlutter repo (CentOS 4.4) and I''m still
having trouble adding new nodes as others saw from the previous version,
though I believe the error is different now. The procedure I used was:
<client> /etc/init.d/puppet once -v
<server> /usr/sbin/puppetca --sign nodename
<client> /etc/init.d/puppet once -v
This used to work for new nodes, now I
2010 Jun 08
2
Could not retrieve catalog from remote server: undefined method `closed?' for nil:NilClass
We are getting this frustrating error on all of our servers after
restarting the puppet server. Can''t seem to get rid of it no matter
what.
The following pops up in /var/log/messages after trying to start
puppetd:
Jun 8 10:59:04 svn001 puppetd[92558]: Could not retrieve catalog;
skipping run
Jun 8 10:59:18 svn001 puppetd[92597]: Could not retrieve catalog from
remote server: undefined
2012 Jun 26
4
ActionView::Template::Error (undefined method `strftime' for nil:NilClass)
Hello, I''m a newbie. I need help resolving this issue. I recently added a
pdf to the newsletter admin section of the website and now I can no longer
view page 2 of the list of pdf''s. Nor can I login to see the newsletters as
a student. I''m using Ruby 1.9.3, Rails 3.2.1.
Here''s the information from the log file.
ActionView::Template::Error (undefined
2011 Jul 27
3
Rspec with ActionMailer and .deliver
I''m in the process of migrating from Rails 2 with rspec 1 to Rails 3 with
rspec 2, the process has been going pretty well, however, today I came
across an issue that I wanted to share.
I have a controller that sends out an email through a mailer.
Rails 2
code: CurriculumCommentMailer.deliver_comment_update(@curriculum_comment,
"created")
Rails 3 code:
2006 Sep 12
8
"undefined method `retrieve'' for nil:NilClass" when attempting to run puppetmasterd
I posted this earlier on IRC, but it didn''t seem anyone was active:
<mozillaman>Hey all!
<mozillaman>Quick question for you :)
<mozillaman>I installed puppet according to the directions on the site and
got this:
sudo /usr/bin/puppetmasterd --nonodes
undefined method `retrieve'' for nil:NilClass
<mozillaman>Anyone have any ideas?
Any help would be
2007 Sep 27
14
Camping and ruby2ruby
Hi everybody,
I would like to use ruby2ruby in a caming project, but there seems to
be an incompatibility with camping, ruby2ruby and markaby.
Unfortunately I receive strange Markaby::InvalidXhtmlErrors.
To demonstrate, that only combination of all three components causes
the problem I added the following code. I relies on Markaby and
ruby2ruby only and works fine (a.k.a. as expected).
2010 Dec 14
1
Error after signing certificate step
Hi
I''m trying puppet for the first time and attempting to get it working in Amazon EC2 with Ubuntu 10.04 using the default puppet 0.25.4-2ubuntu4, I''ve read the ''Pulling Strings'' book and tried following various tutorials found on the net to set up it but each time I get as far as signing the certificate before getting this error....
info: Caching certificate
2012 Feb 03
10
ruby on rails 3 tutorial book chapter9 Signin Failure
Hi I have problem trying to pass the signin failure test.
This is the test code of the sessions_controller.rb
def create
user = User.authenticate(params[:session][:email],
params[:session][:password])
if user.nil?
flash.now[:error] = "Invalid email/password combination."
@title = "Sign in"
render
2010 Sep 21
9
Undefined method 'closed?' for nil:NilClass
Hi all
I started researching on puppet and decided I''ll try it out on Vmware
Workstation using Ubuntu 10.04. So I''m trying to do the simplest
puppet install pattern as outlined in
http://projects.puppetlabs.com/projects/puppet/wiki/Simplest_Puppet_Install_Pattern.
For now, I''m trying to test puppetd and puppetmasterd on the same
machine. I start puppetmaster and
2007 Oct 30
8
Comments on commit 1406 (rakefile changes)
Alex,
The changes to the rakefiles are causing me some problems building on
OS X. I am getting the following:
rake aborted!
undefined method `+'' for nil:NilClass
/Users/sean/Archive/Programming/wxRuby_Dev/wxruby2/rakefile:109
I will now go test on Windows
Sean