Displaying 20 results from an estimated 6000 matches similar to: "Rails on Linux with a MS SQL Database"
2006 Jun 24
6
Ajax fade effect
I have a list of categories, when I delete one of them, I want that item
to fade and then get removed. So I do the following:
1. home_controller:
def delete
@category = Category.find_by_name(params[:name])
@element_id = @category.name
Category.delete_all(["name = ?", @category.name])
end
2. delete.rjs:
if @element_id
page.visual_effect :fade, @element_id
2004 Sep 22
8
Digium Hardware
Hi,
Has anybody had any problems getting digium hardware lately?
Regards
Greg Cirino
___________________________________
Cirelle Enterprises Inc.
603-425-2221
www.cirelle.com Website Design
www.cirelle.net ProSpeed High Speed Dial-up - 5 Times Faster
www.cedata.com Web, FTP, Email Hosting Services
www.mlsbot.com MLS IDX Services
When You Want It Done Well, Just Call Cirelle
It's not just a
2005 Apr 15
2
Newbie question
Hola!
I''m trying to follow the User Manual''s example on how to run ttylinux on
xen and failing.
# xm create ttylinux-xen.cf -c
Using config file "ttylinux-xen.cf".
Started domain ttylinux, console on port 9604
************ REMOTE CONSOLE: CTRL-] TO QUIT ********
Linux version 2.6.11-xenU (horape@elanor.compendium.net.ar) (gcc version
3.3.5 (Debian 1:3.3.5-3)) #1 Thu
2004 Aug 06
3
E1 monochannel :-(
Hola!
I'm using asterisk as H.323 -> PRI gateway. First call goes
thru ok, second concurrent call fails with:
Aug 6 11:52:30 DEBUG[737292]: chan_h323.c:1038 setup_incoming_call: Sending to context [ip2pri]
-- Executing Dial("H323/ip$192.168.32.25:60271/984", "Zap/1/9541163107100") in new stack
Aug 6 11:52:30 NOTICE[753677]: app_dial.c:554 dial_exec: Unable to
2006 Aug 16
5
Rails theory question, where to put a join query
The is something I wrestle with a bit when I construct joined queries..
Perhaps some experienced insight will straighten this out for me.
Say you have two tables with two models, ''authors'' and ''posts''.
an author has_many posts, a post has_one author.
You need methods to do the following queries:
find_author(postid)
find_posts(authorid)
And you are doing a
2004 Aug 02
1
help with digium E1 card
Hola!
I've a Digium E1 card, zaptel recognizes it as (loading the module
with debug=1)
Setting up DMA (write/read = 321b2000/321b2200)
Controller version: 43
Framer: DS21554, Revision: 5 (E1)
Found a Wildcard: Digium Wildcard E100P E1/PRA
Using CCS/HDB3 coding/framing with CRC4 120 Ohms
Calling startup (flags is 4099)
Started DMA
Got interrupt: 0x0005
/etc/zaptel.conf:
2006 Jun 23
2
Foreign key - relations
Hello,
I''ve got DB like this:
(roughly)
create table projects (
id int auto blabla,
name varchar(200),
user_id int,
sales_id int);
create table users (
id int auto..,
name varchar(50));
So project.user_id has a foreign key to user.id - all is good.
Everything works fine.
Now my question..
How can set a relationship from two different fields to the users table
??
Fx.
2009 Feb 12
4
Rails & unixODBC
Hello,
I decided to embrace getting a new Rails application to see an
existing MSSQL database and trying to get unixODBC, freeTDS, and
ActiveRecord able to query my MSSQL database.
I''m following the procedure outlined at
http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServerFromRailsOnLinux
but my system (Ubuntu 8.10 - Intrepid Ibex, Rails 2.3, Ruby 1.8.7)
2006 Jun 26
5
using application_helper.rb
I have a simple Yes/No selection list that I am using in a number of
places. Thinking that I could DRY things out a bit, I added it to
application_helper.rb ...
YES_NO = [
[ "Yes", true ],
[ "No", false ]
].freeze
So I figured I would use it there instead of in each model.rb where
needed.
anyway, in webrick screen, I am continually seeing this...
2010 Nov 25
4
Incoming calls through SS7 for data modem transmissions - possible??
Hello,
We are working on implementing a solution for a medium service provider.
They were previously using a Cisco AS5300 gateway with some PRI trunks to
receive modem calls, then route them out the Internet.
The Telco they were buying the trunks to discovered this configuration and
restricted them due to legal conventions, and stated that in order to
continue doing this, they would have to talk
2004 Aug 04
4
Problems with E100P
Hi,
I'm having trouble configuring and E1 link , I know the E1 is a PRI
and the switchtype is 5ess. The problem is that everytime I try to dial
I got and error saying that it was unable to open the zap channel .
Devices are created in the /dev/zap directory and I can open them with a
cat /dev/zap/1. I can also see the channels in /proc/zaptel/1.
Thanks in advance
[zaptel.conf]
2004 Jul 28
4
MS SQL & Free TDS
Help!
I've been using mysql for cdr storage, I need to switch to MS SQL. I must be
stupid or something but I cannot figure out how to setup the cdr_tds. I have
FreeTDS configured properly, but my unixodbc is not working properly
either... I'd be happy with either solution, but I'm in need of assistance.
Luke Catranis
2008 Nov 26
3
MS-SQL Connection Problem
Hi, i?m trying to access a MSSQL server (in a windows machine in the network) from a Visual Basic Application running under wine, using an ODBC driver.
Since there aren?t any MSSQL drivers for linux i decided to use de native ones, so i installed mdac_typ.exe . Then i configured the DSN using odbcad32.exe but when i tested the connection (configured using tcp/ip) an error message appeared
2006 Jun 19
1
[OT] HowtoConnectToMicrosoftSQLServerFromRailsOnLinux from Ubuntu
Hello all,
I am trying to connect to my remote MS SQL server from Ubuntu.
I have followed
HowtoConnectToMicrosoftSQLServerFromRailsOnLinux<http://http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServerFromRailsOnLinux>as
best that I can.
TSQL is working, example below.
My configs are found below.
When I run isql :
> isql -v pubs name password
[IM002][unixODBC][Driver
2015 Jan 07
3
Asterisk executable suddenly about 40KB larger - modules not working
Hi all
I have a strange issue with 1.8.11.0 on a production Asterisk machine at our
head office, and the same issue with a production machine at a branch
office.
Every now and then, on the head office machine, ODBC CEL and CDR logging
will stop working. On examination in the CLI, Asterisk behaves as if the
config files for ODBC in the /etc directory are just gone.
Repeated tests have then
2003 Apr 13
1
torisa rev b
?Hola!
torisa.c (from zaptel 0.50) says:
#define MASTERVAL 0x41 /* Enable E1 master clock on Rev. B board */
Does that mean that there is a torisa revB? If so, are the schematics
downloadable from somewhere? (www.zapatatelephony.org only has Rev. A
ones)
Does the Rev. A support E1? (just changing the DS2151 for DS2153, the DS
crystal and closing the E1 jumpers, or something else is
2001 Aug 19
3
microsoft sql query analyzer
I'm trying to get MSSQL Query analyzer to work
it loads up i can enter the sql server name and user name and password.
in the sql client utility it is setup for tcpip with an alias for the
server name and the ip address.
it tries to connect then comes back with an error:
[Microsoft][ODBC SQL SERVER DRIVER][TCP?IP SOCKET]General network error
odbc32 is native
wsock32 is native
winsock is
2008 Feb 29
17
Is SQL Server not supported in RoR on the Mac?
Hi -- I''ve been having problems connecting to a SQL Server database that
I thought might be related to the fact I was upgrading Rails to 2.0.
However, I also was moving the project to my shiny new macbook.
Anyway, after jumping through a few hoops (instaling DBI, etc.), I
finally get to my latest error message:
<error>
DBI::InterfaceError: Could not load driver (no such file to
2010 Aug 23
2
problem with mssql and Asterisk 1.8.0 beta3
Hi all,
I am testing with Asterisk 1.8.0 beta3 using realtime with a mssql server using freetds and unixodbc, which works with 1.6.1.20.
With the same config in 1.8 I get an error when trying to start asterisk which says:
[Aug 23 15:06:12] WARNING[7180]: loader.c:387 load_dynamic_module: Error loading module 'res_config_odbc.so': /usr/lib/asterisk/modules/res_config_odbc.so: undefined
2006 Nov 14
3
Is asterisk able to integrate with MS SQL
Hi there,
I am looking around, is there anyone did any integration asterisk talk to /
connect to MS SQL?
Thanks
--
Regards,
Sharon Lim
*Good memories are to be folded neatly and tucked away into the back pocket
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061114/8ef6aad2/attachment.htm