similar to: Newbie question: subdirectories in app/models

Displaying 20 results from an estimated 9000 matches similar to: "Newbie question: subdirectories in app/models"

2005 Dec 16
3
"NT_STATUS_LOGON_FAILURE"
Hi everyone, I'm using the online HOWTO manual in the "Quick Start" reference to try and get a basic domain controller going. So I set up smb.conf, and testparm checked out okay, I've started nmbd and smbd, but when I try to to run [root@localhost samba]#smbclient -L <username> -U<username>%<password> session setup failed: NT_STATUS_LOGON_FAILURE <-- I get
2006 Jun 07
3
fedex tracking
I''ve been using the Business::FedEx::DirectConnect perl module to track and ship packages via FedEx for awhile now. I''m wanting to convert some of this functionality over to ROR, mostly just the package tracking part. Has anyone successfully tracked a package using the Shipping API out on RubyForge? It seems like the functionality is there since it''s just another
2006 Aug 03
9
Rails Cheatsheets!!!
Hey if you know any rails cheatsheet link add it inot the follwing list, lets make a long list on Rails cheatsheet.... ;) 1) 2) 3) 4) . . . -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060103/a6eea2ac/attachment-0001.html
2005 Apr 27
3
caches_page questions
I''m attempting to use caches_page to speed up the loading of certain pages on my site, and have run into a couple questions: 1) The site has ''states'' (as in U.S. states), so I have a State model and a States controller. Going to http://sitename/states/ routes you to the States controller, ''index'' action. The States controller looks like so: class
2017 Aug 05
3
by() subset by factor gives unexpected results
I am having trouble understanding how the 'by' function works. Using this bit of code: i <- data.frame(x=c(1,2,3), y=c(0,0,0), B=c("red","blue","blue")) j <- data.frame(x=c(1,2,3), y=c(1,1,1), B=c('red','blue','green')) plot(0, 0, type="n", xlim=c(0,4), ylim=c(0,1)) by(i, i$B, function(s){ points(s$x, s$y, col=s$B) })
2009 Dec 31
3
Dialplans & Holiday Dates
I have a working dialplan for our phone system with Mon-Fri, business hours identification, etc. But what I'm lacking right now is support for company holiday dates. What I'd like to do is to create a database of these dates and just update them as new years rollover. I suspect others have done this sort of thing with Asterisk before, but I've not found any resources so far.
2005 May 27
2
undefined method `>' for nil:NilClass
I''m following the Depot tutorial in the Rails book, and have just hit a wall. As instructed by the tutorial, I added the following code to the Product model: protected def validate errors.add(:price, "should be positive") unless price > 0.0 end When I attempt to add a new product, I''m getting an error: undefined method `>'' for nil:NilClass
2017 Aug 05
0
by() subset by factor gives unexpected results
The answer was (thanks to Mark Leeds) to do with the use of a factor instead of a vector. on [2017-08-05] at 08:57 Myles English writes: > I am having trouble understanding how the 'by' function works. Using > this bit of code: > > i <- data.frame(x=c(1,2,3), y=c(0,0,0), B=c("red","blue","blue")) > j <- data.frame(x=c(1,2,3),
2009 Aug 06
3
Monitoring Asterisk uptime
We have added Asterisk to a line of 'mission critical' servers at our business, and being in the web application development business one of the core things we do is to monitor web server availability. I'd like to add Asterisk to the servers that our monitoring systems are handling, and also that our SIP trunk provider has our Asterisk system correctly registered at all times.
2009 Aug 01
3
Dialplan strategy suggestions needed
I have a new Asterisk system going into production next week and I'm a bit stumped as to the best way to handle the Dialplans for it. The Asterisk system is replacing 4 separate PSTN lines with both SIP & PSTN inputs. The setting up of the dial plan is giving me some design headaches, which probably means I'm missing something obvious and doing this the hard way. I have separate
2010 May 20
3
Checking blank CallerID in Dialplan
I am trying to implement a change to our Dialplan that will thwart tele-spammers that are calling us with blanked out caller ID. The caller IDs seem to vary between originating callers when they block caller ID. I've seen the following: "anonymous" "" So I'm checking for these. However recently one company seems to be bypassing this, so what I wanted to do was
2001 Apr 05
3
OT: long - Replacing CD's? was RE: New type of copy-prot ected audio CDs are coming...
It won't be long until big labels attempt to eliminate the digital ins and outs of equipment. The problem they face is most people that currently use a rack system featuring digital interconnects will NEVER revert to an analog only system. I know that I won't! Think back to VHS, BetaMax, SVHS and LaserDisc. VHS has incredible market share because its licensing is open. Betamax was
2006 May 09
11
model filter?
Hi All, Is there a way to filter / modify the output of a model class before it''s returned to controller/view that''s calling it? Example: I have a field phone_number which I always want to preformat using the number_to_phone() helper.... Any help is appriciated. Thanks! -- Posted via http://www.ruby-forum.com/.
2009 Aug 06
3
Set PHP binary location for AGI
I am not finding anything relating to this on Google, so I thought I'd pose the question here... I am running Asterisk 1.4 on a CentOS 5 Linux box. I needed to use a custom built PHP5.2.10 install to interconnect with our Firebird SQL database, which I've done. But I noticed that the default install path for PHP5 on this box appears to be /usr/local/bin/php rather than the path
2010 Jan 29
2
Cell phone redialer?
I have an Asterisk 1.4.2 system installed at our office, and have a few 'on the road' sales people that want to make calls from their cell phones in transit, but they are complaining that people returning calls that they make from their cell phones are simply just using the CID that is coming from the cell phone which is causing them to get phone calls outside of business hours. What
2009 Dec 09
4
Need help/suggestions for DialPlan
I am revising our DialPlan strategy for our Asterisk system (1.4.2) and looking for some info on 'best practices' for this. Here's what I'm trying to do: I have an ACD menu that gives the caller the options as follows: - Press 1 for sales - Press 2 for support - Press 3 for customer service - Press 8 for a 'Dial by Name' list or enter the extension number at anytime
2009 Dec 21
3
Looking for some example dialplans
I have an Asterisk system setup for our small business, and its working well. I posted to the list about a week or so ago, regarding having it handle direct extension dialing, and unfortunately I'm not any closer to solving this issue, so I was hoping someone might have a working example of how to set this up they could point me towards. Basically I have everything EXCEPT direct
2009 Jul 30
4
Looking for wisdom - One Asterisk system - Multi-incoming trunks
I'm pretty new to this whole Asterisk system & VoIP thing, but being a programmer by trade the complexity didn't scare me off (at least not yet)... I have setup an Asterisk system for my home & home office. My wife & I run two separate businesses from home, and we have a general family home phone line as well. The cost of all these lines with analog carriers was getting
2006 Jul 24
4
scope
At my day job this week we released an account manager app that lets people view/manage/pay their bills. It''s a C# .net app, I designed the interface (css, html, js), 10 others did the actual .net stuff (too many cooks that can''t boil water). It went live, and bad things started to happen. Customer 1 could see customer 2''s billing data, customer 2 would accidentally
2009 Oct 01
3
What are the reasons for VoIP echo?
I have an Asterisk 1.4.2 system that has been installed for about 3 months now in our home. We converted all of our phones to SIP phones, and use two different trunk providers (BroadVoice for incoming & FlowRoute for outgoing). Most of the time its working flawlessly. But about 1/3rd of the calls that come into us complain of an echo and what is best described as latency issues. Its