similar to: 123 * 3 => 123123123! But why?

Displaying 20 results from an estimated 130 matches similar to: "123 * 3 => 123123123! But why?"

2006 May 08
2
Creating a "Foo has_many bars" association where bar isn''t a model.
Hi Let''s say we have model Foo. Each Foo instance can have several bars. Those bars are primitive, so they shouldn''t be models. For example, Foo might be a type of convention, and the bars might be years the convention was held in. Naively, we would have a conventions_years date, and put: has_many :years inside class Convention. But then we''d get an error, since for
2007 Aug 07
4
Execute additional commands after creating database?
I''m writing some code that accesses some lagacy database on PostgreSQL. Since the old database had some really ughly and weird naming conventions (like CamelCase). To work around this I created a second schema (named rails) in the same database and gave the tables and fields some rails-friendly names. The database user that Rails uses has its search_path set to the rails schema. That way
2013 May 10
2
paypal-express gem
Hello everyone I am using paypal-express gem for Payapl payment. I am using reference transaction method to get money from Paypal. But i am getting IPN i.e payment notification, I mentioned like payment_request = Paypal::Payment::Request.new( :currency_code => :USD, :amount => 10.00, :billing_type => :MerchantInitiatedBilling,
2011 Jul 25
5
Arel quiz: complex queries with associations
I have a real-world application with some complex queries that I want to convert to Arel (as part of an upgrade to Rails 3.1). So that I can understand what I''m doing before I flail around in my real app, I wrote a little sample app (just the models) with some similar associations -- one table joined with itself and more tables that join to another table, so there are some queries that
2005 May 22
1
ActiveRecord: can not connect to mysql
Hi I would like to write my first application with Active Record: this is my database table: id PRIMAREY KEY auto_increment german_name varchar(50) english_name varchar(50) | wingspan this is my code: ======================= #!/usr/local/bin/ruby -w require ''rubygems'' require_gem ''activerecord'', ">= 1.10.1"
2006 Jun 05
0
Failed to install Globalize plugin
My envrionment is Rails 1.1.2, Ruby 1.8.4, MySQL 5.0.21 on WinXP. When I run ''rake migrate'' after pulling the lastest 1.1 branch of Globalize plugin, I get the following error message: (in C:/Rails/Application/medicalmind) == GlobalizeMigration: migrating ============================================== -- create_table(:globalize_countries, {:force=>true}) -> 0.2110s
2006 Feb 07
21
Paypal and Rails
Hello everyone, I am looking for a way to pass off a simple payment to paypal using our own interface. I understand that this requires making full use of Paypal''s API since we won''t be using their shopping cart or anything. I found the article by Pranav Bihari on his site and in the Wiki on using SOAP4R and the paypal WSDL file to interface with paypal web services, but I
2008 Mar 02
0
Models are not initialised correctly with ''rake test'' in Merb 0.9.1
I''m using Sequel as my ORM and Test::Unit as my testing framework and have the following model: class Item < Sequel::Model validates do presence_of( :name, :uuid, :vendor_id, :vendor_reference, :amount, :currency_code ) uniqueness_of( :uuid ) end def initialize( *args ) super( *args ) self.uuid = UUID.random_create.to_s end end As you can see I overwrite
2009 Mar 19
0
How to change paypal url from sandbox to papal original url. i am using paypal lib -- paypal (2.0.0)
sub :How to change paypal url from sandbox to papal original url. i am using paypal lib -- paypal (2.0.0) Hi all, I am test my application with local it working fine when i want to go for live. i need to change the pay pal form target to Paypal orginal site address. I don''t know how to chage the form target in paypal helper. i paste my code below.. plz check it. I use paypal lib
2007 Mar 24
4
image file URL generated by image_tag include some parameter
I''m using image_tag to generate img tag. URL of image file generated by image_tag include a parameter like following. "http:// ..... /images/filename.gif?123123123" What''s this number parameter for? How can I remove it? I''m using rails with built-in WEBrick server in test mode. --~--~---------~--~----~------------~-------~--~----~ You received this message
2004 Sep 22
0
kernel: smb_proc_readdir_long: name=, result=-2, rcls=1, err=123
I have a problem where I mount a share from a win2k3 Box, when I do an ls in the directory I either get No files listed, or only get the first 129 of 300 files As soon as I type ls, I get the following in /var/log/messages Sep 22 10:53:34 monet1 kernel: smb_proc_readdir_long: name=, result=-2, rcls=1, err=123 I have done a bit of searching around and some people Have had similar problems with
2007 Jul 23
0
make world error: symbols.c:123: warning: ignoring return value of ''fgets''
Hello, I''m running Linux (hlfs, 2.6.21.3-grsec, gcc version 4.1.2,) and tried to install xen-3.0.4_1-src and xen-3.1.0-src but got each time: ----------------------------------------------------------------- make[5]: Entering directory `/home/admin/sources/xen-3.1.0-src/xen/tools'' gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer -Wdeclaration-after-statement -o
2002 Feb 20
0
[Bug 123] New: ssh linked with libpam
http://bugzilla.mindrot.org/show_bug.cgi?id=123 Summary: ssh linked with libpam Product: Portable OpenSSH Version: -current Platform: ix86 OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: ssh AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: peak at
2002 Feb 26
0
[Bug 123] ssh linked with libpam
http://bugzilla.mindrot.org/show_bug.cgi?id=123 tim at multitalents.net changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|openssh-unix-dev at mindrot.org|tim at multitalents.net ------- Additional Comments From tim at multitalents.net 2002-02-26 16:58 ------- I've addressed this
2011 Feb 01
1
Lotus Smartsuite 123
Hello, I am trying to do a paste special between a 123 spreadsheet and a Wordpro document in Lotus Smartsuite. For some reason it doesn't seem to be working at all well. I've even installed OLE versions from Windows, but that doesn't seem to be having any luck either. I am getting these errors whenever I try pasting OLE type objects between the programs... perhaps this will look
2004 Aug 15
3
123 Basic configuration files
I need to find some basic configuration files. Is there a place I can check out how to set up an office using sip telephone and Digium FXO and FXS ports? Don Moskaluk don@moskaluk.com www.moskaluk.com 416 737-8230 Cell 416 614-8230 Home --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.732 / Virus Database: 486 - Release Date:
2005 Aug 18
0
Re: Asterisk-Users Digest, Vol 13, Issue 123
Hello All I want to setting my asterisk with features as belows: - When dial to system, caller hear music and message "welcome to asterisk Open PBX". - then when extension (IAX, SIP) is available, ringing on channel. - when channel answer call (offhook), at the time, i want to Host Exchange prepaire billing (CDR of host exchange is running, save call detaild record in database).
2015 Mar 10
1
func_odbc 123
with func_odbc, in the definitive asterisk guide, they were suggesting the possibility that part, or perhaps all of, the dialplan could be written as SQL statement!? First off, that sounds like a good idea to me, but the tone of the authors was suggesting not so much, but that it was a personal preference. >From a naive perspective, why SQL statements at all? Why not just database config
2005 Jan 06
0
Lotus 123 under Wine
As a novice to Wine I've been trying to run the old spreadsheet program Lotus 123 release 5 (1994) under Fedora Core3. I'm using the default wine config with one change under [Version] "Windows" = "win95". I have little knowledge of gdb. I get the following errors after I mount the first of seven 3.5in floppies. Can anyone give me some pointers? Please e-mail me
2006 Apr 01
0
CEBA-2005:123 CentOS 3 ia64 initscripts - bug fix update
CentOS Errata and Security Advisory CEBA-2005:123 https://rhn.redhat.com/errata/RHBA-2005-123.html The following updated files have been uploaded and are currently syncing to the mirrors: files: updates/ia64/RPMS/initscripts-7.31.22.EL-2.ia64.rpm -- Pasi Pirhonen - upi@iki.fi - http://iki.fi/upi/ -------------- next part -------------- A non-text attachment was scrubbed... Name: