Displaying 20 results from an estimated 300 matches similar to: "Creating a matrix"
2006 Jan 05
2
Rails Newb: Foreign Key Views?
I''m a total rails newbie, but I''m learning fast. I have a question that
I can''t seem to find an answer for:
What is the best way of coding views that represent foreign key
relationships?
For example, while developing, I''ve created an "articles" table. I
create some scaffolding code and modify it all to look nice. I then
realise, I need an
2006 Feb 27
3
Send parameter along with method in before_filter
Hello list,
I have an app that has a very simple authorization scheme. A person can have
many roles and roles can have many people.
In my app, I''d like to do
before_filter :login_required (since no role name is provided, it accepts
any users with credentials)
before_filter :login_required ("administrator") (only accepts those with
role administrator)
before_filter
2007 Mar 23
4
DRY - with modules, render_component or.. ?
I have an B2B application where a pretty complex order form needs to be
submitted and edited on the admin controller, buyer controller and
seller controller with some small differences.
How do I make available the edit order methods all controllers?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2006 Sep 28
15
Inserting rows into linking table
Hi,
I have two objects:
Contacts
Lists
I want to be able to add multiple contacts to multiple lists.
I''ve created a linking table and a form that allows me to select the
contacts using checkboxes, but I''m having some problems with the
controller and model.
I receive the following error message when I submit the form:
Mysql::Error: Cannot add or update a child row: a
2011 Apr 18
3
paypal with Active merchant
Hi, I am integrating paypal service in my application using Activemerchant.
Now I want to know how to use ActiveMerchant to make payment to Bank or
Credit card ?
for example:
I am seller and I want to pay some amount to somebody. I want to pay such
amount which will be credited in somebody''s bank account or credit card
directly ?
Please reply me as early as possible.
And also suggest
2009 Mar 31
6
[Zaptel] Why no driver for PCI voice modems?
Hello
Considering how cheap PCI modems are compared to even the cheapest
PCI hardware from Digium, OpenVox, Sangoma, etc.... I was wondering
why Zaptel can't be used with those to connect an Asterisk server to
a POTS line for low-level use? It just seems overkill for SOHO users
who only get a few calls a day.
Is it because those modems are usually Windows-specific, and it would
be too
2005 Jan 12
2
Where to buy a quadBRI?
Who is selling the quadBRI cards, which is everybody talking about?
And how much does is costs?
I'm looked on the site of junghanns.net, but there is no selling
information.
A seller in germany is favored.
2008 Nov 13
2
asterisk setup w/ voIP phones
Hi All,
I have setup asterisk 1.4.22; so far everything good.
Except, I am still searching for voIP phones.
Which grandstream phone should I buy, this is going to be for small
office for testing purposes.
I am on a budget, hoping to find someone here who has some used to
sell or point me in the direction of a seller.
I am in the US.
thanks,
Mike
2007 Mar 08
4
Asterisk distributed deployment
Hello all, I post this issue thinking too that could help other people on an
asterisk deployment over distributed offices considering both quality, prices,
devices and so.
Well, i am working on a deployment of a telephony system based in asterisk. My
company have a central office with seven remote offices connected all through a
VPN. To reduce and evaluate costs i consider solutions like:
2019 Aug 20
2
CentOS Amazon Machine Image?
I am totally new to AWS.? There was a posting here ~ a year ago making
claims about setting up a CentOS image on AWS.
I have created a free AWS account and am looking at the available images.
None are named CentOS.? There is a Redhat Enterprise Linux 8 and
Amazon's own Linux and SUSE, Ubuntu, but I don't find CentOS.
This is a learning endeavor.? I was thinking to first set up a BIND
2010 Jun 21
4
Unknown action No action responded to 2. Actions: show
I''m trying to create a simple RoR application that shows me the records
inside my table, provided that it is an example I''m working on the "Head
First Rails" book.
When I try to retrieve the record I get the following message:
"Unknown action
No action responded to 2. Actions: show"
Why am I having that? And, how can I fix this issue?
Provided that:
1- I
2006 Jun 26
2
x100p buying advice
I'm looking to get an x100p off ebay and am not particularly familar
with the "life cycle" of the card.. An "Authentic X100P" listing has a
buy it now of $29.95 and says
There are 3 types of cards Asterisk would recognize:
*Screenshots from the official, original driver install
Cheap "OEM X100P","Clones", "Compatibles", Knock-Offs
2005 Dec 14
9
Passing quantity in a shopping cart
I am using this line on my index.rhtml page to capture the quantity
required of a particular item for a basic shopping cart app:
<%= text_field ''line_item'', ''quantity'', {:size=>3} %> </td>
but my next screen (a cart screen) doesn''t reflect what was entered in
that text field when the item is added to the cart. That is,
2016 Jan 28
2
When will CentOS 7.1 become available as an AWS AMI?
I am in need of some AWS instances of this version.
There are "community" instances of 7.1 but I would strongly prefer an official release from CentOS team over trusting my base image to an unknown publisher.
Is there any plan/projection of when CentOS will publish 7.1 to the AWS marketplace?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Aug 15
3
update or alter cart
I want to modify and update the items in the Depot - "display_cart".
Since the cart is in a session, its a little hard to get at the data.
I just want to create a way to change quantities, prices and
recalculate.
Has someone done this, and could you point me to the right direction.
Thanks
Chas
--
Posted via http://www.ruby-forum.com/.
2006 Apr 24
3
Form with multiple rows of content
I have looked at examples for this. I found a similar example in the
Agile Web Dev... book but that didn''t help. Here''s what i am trying to
do.
A Cart has many line items. On the Display Cart page, I want to provide
the user the option to update quantities.
Here''s the rhtml code:
<%= start_form_tag :action => ''update_cart'' %>
2004 Jan 21
11
Digium X100P for $43
Digium X100P / new cards are is available on ebay for $43.
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=3073050567&category=3309
<http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=3073050567&category=3309
>
Hope this helps to who want to play with X100P! Are these being sold by
Digium ? I don't know ??
- SamW
-------------- next part --------------
An HTML
2007 Aug 30
3
Rails - depot application
I''m doing the depot example in the Agle Web development book. I''m
getting this error:
"undefined method `product'' for #<BigDecimal:331ce70,''0.21E1'',8(8)> "
"Extracted source (around line #9):
8: for item in @items
9: product = item.product
10: -%>
11: <tr>
12: <td><%= item.product%></td>"
2004 Apr 06
5
FW: pda skype
http://www.skype.net/download_pda.html
http://australianit.news.com.au/articles/0,7204,9214802%5e16123%5e%5enbv
%5e,00.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040407/51a98542/attachment.htm
2006 Mar 03
68
Agile Web Development with Rails 1.1
Dave, on another topic, might I recommend that you and DHH publish an
updated version of the Agile guide right away when 1.1 comes out? You could
reuse much of your material and it would do a lot of good to help make sure
there is still a good centralized source of reference for Rails. Without
that book, there really is not a good one-stop source of information for
people to learn how to use