similar to: undefined method `scaffold'' for #<LocationsController:0xb7a9e858>

Displaying 20 results from an estimated 1000 matches similar to: "undefined method `scaffold'' for #<LocationsController:0xb7a9e858>"

2006 May 09
9
Active Record HELP!!!!!
Hello, Can someone kindly tell what the heck creating a relationship does in active record? I understand the idea of joining the tables and such. But how do I use it? Is it available in a scaffold? How about when I want to view a record and want to see all the joined data from the other table? Do I have to manually code the data I want from the other table? Does this automatically make the
2006 Apr 04
2
How can I stop view caching?
Does anybody know how to stop the caching for views? I''m using Lighttpd with fcgi. Every time I make a change to the HTML in a view, I have to restart lighttpd before I can see the result of the change. I understand that the page is is compiled until it sees the modification date has changed. However, I am working on a Linux machine and editing the files on a Samba mount from my Mac
2006 Apr 17
6
Is there anyway to make Rails NOT cache?
Is there anyway to make Rails NOT cache? I''m getting caching in the browser and the server. I have to restart Lighttpd after every view change to see the results. Thanks, phill
2006 May 18
6
Newbie:problem when using validates*
Hi, I have performed the cookbook tutorial. Before tailoring the views and controllers, when I put in the model recipe.rb: validates_uniqueness_of :title validates_length_of :title, :within => 1...20 And I tried to introduce some new recipe without the above conditions I got the message: --------------------------------------------------- New recipe 1 error prohibited this category from
2006 Dec 04
1
Mongrel and Mongrel Cluster Library LoadErrors
Hello, I''m a noobie to Rails and even more to mongrel. I have an issue with one server that I''ve installed mongrel. Its a Fedora Core 5 box, and it is having problems loading the Oracle OCI8 libraries. However, this only occurs when I use mongrel_cluster, or mongrel with out the - d switch. I have no problem using the library from the commandline and with Webrick or
2006 Sep 27
0
NET::LDAP Help Anyone? Maybe session Help? Bring my server to it's knees Help?
Does anybody know what the correct way to cache results from Net::LDAP bind_as? I''ve been struggling for about a day now and I know it''s something really easy. But when ever I do something like this - def self.login(username, password) begin ldap = Net::LDAP.new ldap.host = "192.168.1.16" ldap.port = 389 result = ldap.bind_as(
2013 Apr 02
4
gmaps4rails: undefined method `model_name' for NilClass:Class
Hi All, just in a spot of bother with this gem, I am trying to create a new location and get the above msg. here is my controller: class LocationsController < ApplicationController # GET /locations # GET /locations.json def index @locations = Location.all @json = Location.all.to_gmaps4rails end respond_to do |format| format.html # index.html.erb
2011 Jan 04
5
Webkit - can't find variable: mxn
In my app (v2.0.15) and on the mapstraction demo the first time I load the page in Safari I get the error "Can''t find variable: mxn" and the map doesn''t load. http://mapstraction.appspot.com/ mapstraction.googlecode.com/svn/trunk/source/mxn.core.js:6ReferenceError: Can''t find variable: mxn I''ve seen a few old posts in the list archives about similar
2017 Dec 11
2
Re: Libguestfs Hangs on CentOS 7.4
(1) This made no difference. It still hangs around the same place. (2) It wasn't enabled in the kernel so i enabled it. I then rebooted but unfortunately it made no difference. If you want access to a hypervisor to have a play around, let me know. The only information i really have is that if i installed CentOS 7.3 on this hypervisor it works fine. On 11 December 2017 at 16:24, Richard
2016 Jan 19
2
Xen kernel-3.18.25-17 EL6 and EL7 needs testing
On 01/19/2016 03:27 PM, Phill Bandelow wrote: > I presume this addresses CVE-2016-0728? > Actually it does not .. they have not rolled that patch into the LTS 3.18 branch at kernel.org yet. As soon as it hits the LTS tree I will build a new kernel though. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature
2005 Oct 31
1
Locking for Linux/WinXP clients (-or- CIFS issues)
Hi... I've been running samba 3.0 for quite some time now (Debian's stable version, currently 3.0.14) and I've had no problems. That's probably been because all my clients were Windows XP boxes. I've now moved several users to Linux (Ubuntu Breezy) as their desktop and I've noticed there seems to be a problem in accessing files across the platforms. If a Linux box
2015 Sep 01
2
Re: Can't get cable connection working on virtual router machine
Hi, I'm not sure what sort of diagram you mean, but I'll have a try. Does this help? It sounds like I need to do something to enable routing on what I've labelled "NIC3" on the diagram - can you please explain what I need to do? [image: Inline image 1] Regards, Phill On Tue, Sep 1, 2015 at 4:53 PM, Ajey Gore <ajeygore@gmail.com> wrote: > Can you please drop a
2010 Apr 02
1
Can't get NTLM authentication working with Samba
I've been running Samba for years to provide file shares, and now I'm trying to set it up as an NTLM authentication server for Squid. From what I've read, to do this you need to get winbindd up and running. I think I'm part way there but have hit a brick wall. I've set my machine us a PDC. "wbinfo -u" returns a list of users OK (though I notice one is missing but
2015 Sep 01
2
Re: Can't get cable connection working on virtual router machine
Hi Ajey, I thought I already was doing bridge mode. Below are the network interface definitions from the XML config file for the Sophos VM. (Note that it's actually the middle definition which is connected to the cable modem which is different to how I showed it in the earlier diagram). What I don't understand is that the interface type says "direct" in the XML even though in
2016 Jan 21
3
DomU Guests not shutting down nicely when Dom0 Hypervisor shuts down
I am using Xen 4.6.0-8.el7 on CentOS 7 with 3 Linux DomUs. I did have Xen 4.? on CentOS 6.5 on my previous system. I installed using yum install centos-release-xen. On shutting down the Hypervisor it used to wait for the DomUs to shut down gracefully (one can take a minute or more), then on starting up again it would restart the DomUs, all nice and controlled. For some reason the DomUs (CentOS
2016 Jan 19
5
Xen kernel-3.18.25-17 EL6 and EL7 needs testing
There is a new xen kernel for centos-6 and centos-7 the needs testing in: http://cbs.centos.org/repos/virt6-xen-common-testing/x86_64/os/Packages/ and http://cbs.centos.org/repos/virt7-xen-common-testing/x86_64/os/Packages/ Thanks, Johnny Hughes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes
2008 Jul 28
1
Overlay of simple plots
I am trying to create a graph that puts three x-y plots (age vs rate for three categories ) on a single plot. SAS does this with the overlay function. I cannot find in the R documentation a method for doing this. Any help would be appreciated. Thanks, Phill Phillip R. Hunt, Sc.D. 24 Pleasant St. Newfields, NH 03856 [[alternative HTML version deleted]]
2009 Jul 06
3
Sieve vacation not working
I've been trying all night to get vacation working in my .dovecot.sieve file. The way our email works is we have one account on dovecot which serves my mail and my wife's and we use procmail and sieve to put the emails in different folders depending on who it's for. I'm trying to set up a vacation reply on my wife's email address (aaaaaaaa at optus* below) so people can update
2009 May 04
2
Can't connect to auth server
I'm trying to phase out procmail and move to dovecot-sieve instead. It ain't proving easy. I'll describe my setup: - Centos 5.2 box with dovecot 1.1.4 and dovecot-sieve 1.1.6 from ATrpms. - A single user account is used to store all our email (the account is called maildb). - Getmail is being used to fetch the email from various ISP mailboxes. I want to deliver mail to different
2015 Dec 20
3
Missing module grub entry in xen-4.4.3-9 & boot issues
HI, We've started to see several issues with the Xen releases. Going back to basics I've used this guide https://wiki.centos.org/HowTos/Xen/Xen4QuickStart Once the install process is complete the grub.conf looks like this: default=0 timeout=5 splashimage=(hd0,0)/boot/grub/splash.xpm.gz hiddenmenu title CentOS (3.18.21-17.el6.x86_64) root (hd0,0) kernel /boot/xen.gz