similar to: Once I added this HABTM, one of my 'through' relationships, on a non-habtm model, seems to have broke?

Displaying 20 results from an estimated 500 matches similar to: "Once I added this HABTM, one of my 'through' relationships, on a non-habtm model, seems to have broke?"

2008 Mar 17
4
RSpec''ing model association callbacks
Hi all, i''m learning rspec and i must admit i really love it. But at the time i started learning it, i already developed my models classes and their callbacks. Now i''m trying to get a 100% coverage of my code but i cannot reach it because i do not understand how to spec my callbacks. Look at this for example: ----------------- User Model class User < ActiveRecord::Base
2006 Jun 15
6
Newbie''s problem with a nil object he didn''t expect!
Dear Rubyists/Rails gurus, Though I''ve successfully completed the various Rails tutorials online and the Depot application from the Agile Web Development with Rails book, I''m still pretty much a Ruby/Rails newbie. I''m trying to learn by writing my own simple blogging application, but I''ve run into a problem that has had me scratching my head for a few days now.
2008 Mar 12
3
undefined method `each' for #<Usrecart:0x46d1678>
I have the an error such as undefined method ''each'' pls can any one find the error from the code given below <center><%=@b%></center> <center><h2>WELCOME IN YOUR PROFILE</h2> <%@usercart=Usrecart.find_by_user_id(@b)%> <%if @usercart.blank?%> <br> <br> <br> <br> <h2>THERE IS NO
2010 Jul 18
1
Reading files with varying number of columns
Dear R list, I am trying to read files with a varying number of columns and can't figure out how to get them in the proper format.? Some rows have five value and some have seven.? Is there a way to read them in so that two empty columns are added to every row that has only five values?? An example of the data follows.? Thanks!? Tim >46,B,00301,2004-02-03,11:59:16
2004 Sep 27
6
FXO question
Hi all: Does somebody know how many meters of cable is supported between Asterisk Digium-FXO cards and the analog telephone ? Thanks, Angel
2007 Aug 14
2
CDF of a gamma distribution
Hi there, I have some bird flight height data that follows a gamma distribution. The data (x) goes from 0 to 700 meters (n=1055). The calculated parameters calculated from the fitdistr(x) are (shape = 5.1379, rate = 0.017541), and therefore the scale (1/rate) = 57.00929. I would like to calculate the cumulative density (or proportion of the curve) of the function at x= 50 meters. Is
2009 Nov 23
1
Natural colours for topographic data
Dear list members I'm currently working on some topographic (elevation) data, and was somewhat surprised that the 'topo.colors' and 'terrain.colors' are of little to no use here. The problem is that these functions only return a palette of colours; they don't map depth values to colours. So if I plot (using 'image', 'persp' or similar functions) and
2009 Feb 28
2
filled.contour and time axis
Dear all, I am using filled.contour and my x-axis consists of a vector of dates, formatted using as.POSIXct. When I assign this vector to x in filled.contour, the x-axis in the plot is correctly formatted as dates. However, when I use plot.axes=axis(1) in filled.contour the x-axis is not correctly formatted. I need to opt for the latter because I want to add additional lines and points to the
2010 Jun 17
5
cameras and CentOS
Hi I want to put up a few cameras connected to a CentOS box. I currently have a box with one camera and that works (USB), I can take a pic (the script does that) and see that on a webpage. However, I want to have a couple of cameras a little further away (more than 5 meters). USB has a limit, I have tried that camera with a longer cable and it does not work ... so I need to route that in a
2008 Jan 15
3
Graphical output: dials and meters for a dashboard?
Hello, I'm new to R and am evaluating it to see whether it would be an appropriate tool to create a "dashboard" (a graphical statistical summary page). Could someone tell me if it is possible to display data as dials or meters. e.g. the four dials here: http://www.pentaho.com/images/snap_dashboard_1.png Browsing the site hasn't revealed anything yet. Thanks for any
2005 Apr 13
1
How to plot Contour with NA in dataframe
Dear friends, I am trying to produce Contour Plot with R, but there are some NA in my data matrix. After I ran the following R script, I got the error message:"no proper `z' matrix specified". Does anybody know how to plot contour chart with R for the non-strict matrix? Thank you in advance!!!
2007 Sep 04
6
Overhead paging over IP...
I have a customer that has two buildings that are connected with a fiber link. We have a single Asterisk server to cover both buildings. Now the customer went and bought an overhead paging system for the remote building and they want to integrate it with Asterisk. Is there a device that can connect over IP or an ATA that has an audio output port? The buildings are about 500 meters apart so we
2009 May 26
5
Maximum cable length for analog phone from FXS port
Hello. I am looking for details of the maximum allowed/usable/effective wire/cable length of the connection from a FXS port of Digium analog cards to the analog telephone handset. To clarify my intention, I need to have an analog telephone connection to my asterisk box that is 3000 meters (3km) away at least. If you have any details of ATA boxes or other similar devices that I could use to
2009 Nov 12
3
Samba 3.2.15 is working with Winows 7 !!!
Hello to all, After a lot of trying this is the solution for all with samba 3.2.15 installed. My Windows 7 client machine joins the domain on the fly with this registry hack. I can logon without errors and all my netlogon scripts are working: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Para meters] "DomainCompatibilityMode"=dword:00000001
2006 Feb 02
0
What is best way to show only records belonging to loggeduser?
When I do this, I store the after a successful login. user''s id in session. My controller actions pass that id into the find method @tasks = Task.find_all_by_user_id(session[:user_id]) The session would have to be hacked in order for that to be broken. It''s been secure enough for me. -----Original Message----- From: rails-bounces@lists.rubyonrails.org
2012 Oct 26
0
Routing error in rails
In my controller I have def update_project_dates p "It is end date....." @user=User.find(params[:user]) @projects=Project.find_all_by_user_id(@user) end In the view page (only some part of the code is copied and pasted) eventDrop: function() { $.ajax({ url:''/update_project_dates/'',
2009 Nov 01
3
Picture Tutorial: How to Setup Slackware64 13.0 HVM domU with Xen 3.5-unstable pv-ops Dom0 Kernel 2.6.31.4 in Fedora 11 x86-64 Dom0
Hi, I have just installed Slackware64 13.0 Linux as a HVM guest with Xen 3.5-unstable changeset 20143 pv-ops dom0 kernel 2.6.31.4. For more details, please refer to the following link: http://enmingteo.wordpress.com/2009/11/01/picture-tutorial-how-to-setup-slackware64-13-0-hvm-domu-with-xen-3-5-unstable-pv-ops-dom0-kernel-2-6-31-4-in-fedora-11-x86-64-dom0/ There are 83 screenshots so far at
2009 Nov 01
3
Picture Tutorial: How to Setup Slackware64 13.0 HVM domU with Xen 3.5-unstable pv-ops Dom0 Kernel 2.6.31.4 in Fedora 11 x86-64 Dom0
Hi, I have just installed Slackware64 13.0 Linux as a HVM guest with Xen 3.5-unstable changeset 20143 pv-ops dom0 kernel 2.6.31.4. For more details, please refer to the following link: http://enmingteo.wordpress.com/2009/11/01/picture-tutorial-how-to-setup-slackware64-13-0-hvm-domu-with-xen-3-5-unstable-pv-ops-dom0-kernel-2-6-31-4-in-fedora-11-x86-64-dom0/ There are 83 screenshots so far at
2019 Mar 08
3
[Bug 1326] New: `nft list' is very slow when output contains meters that has lots of elements
https://bugzilla.netfilter.org/show_bug.cgi?id=1326 Bug ID: 1326 Summary: `nft list' is very slow when output contains meters that has lots of elements Product: nftables Version: unspecified Hardware: x86_64 OS: Debian GNU/Linux Status: NEW Severity: normal Priority: P5
2008 Feb 17
2
filled.contour with log axis
Dear all, I would like to generate a filled.contour plot with log x and y axis, however using: filled.contour(as.line,log="xy") results in a warning message. Does anybody knos what to do? Thanks Thomas