similar to: Re: One model won''t work like the others, generating weird e

Displaying 20 results from an estimated 10000 matches similar to: "Re: One model won''t work like the others, generating weird e"

2006 Apr 13
2
One model won''t work like the others, generating weird error
I''ve been banging my head against this for quite some time and can''t figure out what is going on. I''m doing up a web site based on Typo and adding in some custom controllers. I''m running Typo from trunk, so it''s using the version of rails in vendor/rails. Everything is going smoothly...until now. I have one model that JUST. WON''T. WORK.
2006 Mar 07
6
Can Ruby and PHP play nice together?
I''m busy trying to bang out a new version of the website for my fantasy baseball league (www.ibl.org) and I''m torn as to what to do. I''m a PHP coder by day (Zend Certified and everything) but like Rails too. Now, the site is morphing into a "blog plus tools for league members" site. A lot of those tools are already written in PHP and I don''t want
2003 Aug 05
2
FreeBSD5.1 as PDC cant connect winXP box
I am at the end of my rope, I am trying to get a winxp box to logon to a pdc using freebsd5.1 and keep getting "Logon failure: unknown user name or bad passsword." or "Access Denied". I am trying to logon with 'root' and the user is in smbpasswd and /etc/passwd. I think my problem is I am not sure how to add the machine account into the samba server. I have tried just
2009 Sep 14
2
Plea: No long unbroken lines, please!
Hi Folks, I don't often grumble, but this time I've found myself inconvenienced by a posting stored on R-help archives: https://stat.ethz.ch/pipermail/r-help/2009-September/211095.html This was Karin Groothuis-Oudshoorn & Stef van Buuren's message on 10 September about the new version of MICE. This has been sent by software which inserted no line-breaks. As a result, each
2009 Sep 04
0
passing character vectors to FORTRAN
Hi, I've been trying to pass a character vector from R to a FORTRAN subroutine. There have been several posts discussing this issue (e.g. http://tolstoy.newcastle.edu.au/R/help/98a/0547.html, http://tolstoy.newcastle.edu.au/R/help/05/10/13558.html, http://tolstoy.newcastle.edu.au/R/help/01a/2577.html, http://tolstoy.newcastle.edu.au/R/help/01c/1795.html,
2016 Jul 14
2
Weird behaviour opening pdf files (and maybe others)
On Thu, Jul 14, 2016 at 09:45:26AM -0700, Jeremy Allison wrote: > > Finally, I have tried to find clear statement about sharing NFS exports via > > samba and wether or not it is suposed to work or what are the limitations. > > What's your opinion? > > Sounds to me like no oplocks are being granted on the NFS share > export. That'd do it. "kernel oplocks =
2016 Jul 14
2
Weird behaviour opening pdf files (and maybe others)
I also set "veto oplock files = /*.pdf/" at share level 2016-07-14 19:46 GMT+02:00 Alexandre <alxgomz at gmail.com>: > Actually I have "kernel oplock = yes" set in the global section. > > I don't know if it helps but I can provide network capture if needed... > > 2016-07-14 19:02 GMT+02:00 Volker Lendecke <vl at samba.org>: > >> On Thu,
2016 Jul 14
0
Weird behaviour opening pdf files (and maybe others)
On Thu, Jul 14, 2016 at 07:51:02PM +0200, Alexandre wrote: > I also set "veto oplock files = /*.pdf/" at share level > > 2016-07-14 19:46 GMT+02:00 Alexandre <alxgomz at gmail.com>: > > > Actually I have "kernel oplock = yes" set in the global section. Both those "kernel oplock = yes", "veto oplock files = /*.pdf/" are exactly what
2016 Jul 14
0
Weird behaviour opening pdf files (and maybe others)
On Thu, Jul 14, 2016 at 11:39:37AM +0200, Alexandre wrote: > Hi, > > I had to review a samba setup recently where people experienced strange > things. > Basically they more from a solaris on phisical machines environment > (locally hosted) running an old version of samba (2.x or even 1.x) to a Red > Hat virtualized environement runing 3.6 (remotely hosted). > The link
2007 Apr 13
3
rspec on rails won''t install
Hi: This command: svn co svn://rubyforge.org/var/svn/rspec/tags/REL_0_9_0/rspec_on_rails/vendor/plugins/rspec_on_rail Gives me this output: svn: URL ''svn://rubyforge.org/var/svn/rspec/tags/REL_0_9_0/rspec_on_rails/vendor/plugins/rspec_on_rails'' doesn''t exist If I go the ''script/plugin install'' route, I get "Export complete." Anybody know
2006 Aug 07
0
integration test won''t run
Im trying to write and run integration tests in my app, but they keep failing with an error like "uninitialized constant IntegrationTest" secificly: /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/ active_support/dependencies.rb:123:in `const_missing'': uninitialized constant IntegrationTest (NameError) I tried creating a fresh rails app and was able to run an
2006 Jul 10
0
Paypal gem issues Webrick won''t boot :(
I installed the paypal gem and downloaded the plugin as instructed at http://dist.leetsoft.com/api/paypal/ When the plugin is in the vendor/plugins folder WEBrick refuses to start. No error messages, just "=> Booting WEBrick..." then back to my prompt. Do I have to declare the plugin someplace or something? -- Posted via http://www.ruby-forum.com/.
2006 Jul 24
1
meantime_filter won''t pick up my missing methods
<code><pre> module Scope protected def method_missing(method_id, *arguments, &block) if method_id.id2name =~ /^scope_([_a-z]\w*)_to_([_a-z]\w*)/ scope_model($1.singularize.capitalize, "#{$2}_id", &block) else super end end def scope_model(klass, foreign_key, &block) eval(klass).with_scope({ :find =>
2006 Jul 31
0
validates_confirmation_of won''t work
Hello folks, this is the first time I''ve written to this forum. If there''s already a topic on this, forgive me but the search isn''t working right now. I seem to have a problem validating confirmation of a password. The first two snippets are some model code and some test code that work just fine: ---------------------------- class Challenge < ActiveRecord::Base
2006 Jun 14
2
script/generate --pretend; Won''t
Cannot pretend: > ruby script\generate --pretend controller entryform index Couldn''t find ''--pretend'' generator I just wanted to see what files it would generate... Warren Fred
2006 Jun 21
1
WEBrick won''t answer
Hi I''m starting with RoR, trying to get things working. I''m following the onLamp tutorial for my first steps. At the point where i''m supposed to start the server for the first time i''m not getting any further. WEBrick seems to work: ======================================= Microsoft Windows XP [versie 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.
2006 Jun 28
2
hash value won''t increment with =+ operator
I have a database of bookmarks and tags, and want to count the number of bookmarks each tag is assigned to, for example: user "tyler" has the tag "concerts" on 15 out of his 30 bookmarks. This code: hash = Hash.new("0"); @user.tags.each do |t| @user.bookmarks.each do |b| x = 0 if b.tags.include?(t) then hash[b.id] =+ 1 puts "hash is #{hash}
2006 May 29
1
Server won''t start
Hi, I have the demo "depot" running on my windows XP computer.For some reason I try to start the server. I select the server, click the green arrow, but it only displays the red button not the yellow restart that indicates that the server is running, along with the status message changing from stopped to running. What have I done or ? Jim -------------- next part -------------- An HTML
2006 Apr 30
4
renamed partial won''t render?
hi all this works <%= render :partial => "admin/works/work", :collection => @artist.works %> but this doesn''t <%= render :partial => "admin/works/worklist", :collection => @artist.works %> even though the partial _work.rhtml and _worklist.rhtml are identical. worklist.rhtml throws undefined local variable or method
2007 Dec 20
2
0.24.0 won''t start
Hi, I am having a problem where puppetd won''t start on one of my RHEL 5 machines with the --listen option enabled. 0.23.2 seems to run fine but 0.24.0 dies leaving the pid file still there. I installed puppet using the latest gem from reductive labs. It works fine on what is meant to be an identical system. I tried running strace and it seems to exit after trying to write to a bad