Displaying 20 results from an estimated 8000 matches similar to: "Application Design"
2007 Mar 04
23
Sound support for script.aculo.us
Hi all,
I''ve added a new library called sound.js to script.aculo.us, which
allows for playing (mp3-based) sound effects. It works without using
Flash, by using IE''s internal sound playback mechanism (BGSOUND) and
falling back on using whatever plugin is used for audio/mpeg on other
browsers (in real world terms, this means QuickTime or a QuickTime-
compatible plugin).
2006 Apr 27
12
ducktyping ruby
Hi,
Does anyone know is there some ruby configurations that can be done to
make ruby act a little more like a statically typed language???I love
its dynamic nature, but miss the safety that comes from statically typed
languages like java??.
Cheers in advance
--
Posted via http://www.ruby-forum.com/.
2006 May 17
10
HABTM << producing incorrect insert sql ?
Greetings railsers -
I''m trying to add to a collection through HABTM, but the sql
insert is trying to insert a PK rather than letting mysql produce the
auto_increment''ed PK.
## @medication_dose holds a validated, saved model
@medication_dose.medication_frequencies << MedicationFrequency.find
(:all)
The above bails with,
Mysql::Error: #23000Duplicate
2006 May 21
12
TDD for Rails book?
It seems like half the people on this list are writing a book on Ruby
or Rails. For all the hints I''ve seen strewn across the list I have
yet to see one that will focus on test-driven development for either
Ruby or for Rails.
If anyone is looking for a topic, please consider this. I''ve been
trying to wrap my brain around the TDD process, but its way of
thinking is
2006 Nov 30
41
TDD killing my joy of Rails
I''ve been working through the book ''Beginning Ruby on Rails E-Commerce''
which is very heavy on Test Driven Development. As in, you have to
write tests for scaffolding methods and validations and crap like that.
And then they fail. And you KNOW its the test not the method. So you
spend 2x the time writing a test that has to be adapted when
requirements change. You
2004 Aug 08
1
[fdo] Inkscape BOF @ Siggraph LOS ANGELES - MON, AUG 9, 4-5 PM
*PLEASE FORWARD*
Inkscape: An Open Source Vector Graphics (SVG) Editor Overview
Birds of a Feather Meeting in Co-operation with Siggraph 04 at the Los
Angeles Convention Center
http://www.siggraph.org/s2004/conference/birds/index.php?pageID=conference
Monday, 9 August
4 - 5 pm
Holiday Inn City Center
Santa Monica Room
Jon Phillips + Jon Cruz
###
Inkscape: Draw Freely.
2006 Feb 07
6
Switchtower not working due to openssl not found
I''m struggling to get switchtower working, and from other posts about
it I know it has something to do with ruby binding to open ssl. I''m
just not sure what I should recompile/reinstall to get things to work.
running: "rake remote_exec ACTION=setup" gives me --->
...executing "mkdir -p -m 775 /usr/apps/hello-rails/releases
/usr/apps/hello-rails/shared/system
2007 Jul 06
5
Outside-In with RSpec on Rails
I just read ''Mocks Aren''t Stubs'' and was intrigued by the notion of
''outside-in'' TDD.
As a Rails developer, I''m curious if others are employing this method
when developing Rails applications using RSpec. Is it common practice
(or even practical) to drive the development of a Rails app by
starting with view specs, then controller specs, then
2007 Oct 04
3
pdf() device uses fonts to represent points - data alteration?
Hello all,
I discovered that the pdf device uses fonts to represent "points"
symbols (as in plot(...,type="p",...) ). Namely it uses ZapfDingbats
with symbol U+25cf. This can lead to problems when the font is not
available, or available in another version (such as points being
replaced by other symbols, or worst: slightly displaced).
Furthermore, it also causes
2006 Feb 14
22
Teaching Models to Render Themselves in the Controller
I am trying to teach my models how to render themselves, i.e.
<%= my_model_object.render() %>
Let me explain my reasoning and proposed method before this gets shot
down as anti-MVC.
Let''s say I am writing a contact-management application. I have a
class Contact. I will need to display this class all over the
application. My first choice is to use a partial.
Now I can
2006 Nov 06
4
Updating the index.
I''ve been reading through the lucene, ferret, and aaf docs, but I''m
still a bit new at full text indexing.
When I create a new instance of an indexed model, and save it, it
doesn''t show up in searches. Should I have to update the index of the
entire model (which works) before it will return in queries?
Britt
2007 Oct 18
5
vector graphics/ ungroup and edit in CorelDraw
System:
Linux kernel 2.6.15 Ubuntu dapper
R version 2.5.1
ESS 5.2.11 on Emacs 21.4.1
-------------------------
Colleagues
Having read the posts on producing perfect graphs in R, or using
inkscape to edit R graphics output, I have a related question.
Lately I am publishing in a journal that is very picky about their
graphics formats. It is more efficient for me to get the final picky
details
2010 Nov 04
2
Problems with points in plots when importing from pdf to an SVG editor
Dear R-users
When trying to import graphics from an pdf-file to a Vector graphics editor
(I use Inkscape, but i've confirmed the same problem on adobe products), all
points in the graphics turn out as "q"s.
This example displays the beaviour:
pdf(file="points are weird.pdf")
plot(1:5)
dev.off()
When importing the file to inkscape, I get five neatly arranged little
2002 Apr 04
4
[Bug 204] Authentication fails when username contains an at-sign
http://bugzilla.mindrot.org/show_bug.cgi?id=204
------- Additional Comments From britt at yenne.net 2002-04-04 18:49 -------
Okay, commenting out those lines definitely solved the problem. The pty issue
happened because I didn't configure with PAM, and evidently Ensim has done
something sneaky there.
So, definitely a problem.
-britt
------- You are receiving this mail because:
2005 Dec 29
9
Single Table Inheritance
Hi all,
Quick question for STI. With the following setup:
class Company < AR::Base; end
class Firm < Company; end
Why does Firm.find(:all) return all Companies, not just those that have
type==''Firm''?
--
Alex
2008 Jun 28
19
Stopping example execution?
Hello, I''m wondering If I am missing something here when creating an example that sets an expecation at the top or beginning of an action but requires you to stub / mock everything that follows.
Example:
I want to test that a certain controller is running a before_filter...thats easy:
- controller.should_receive(:require_user)
- do_get
But now i''ve got to mock / stub
2012 Nov 21
2
Spider Graph
Hi,
Is the stars command in the base package or do I need to download?
I am looking to make star/radar/spider charts.
Thanks!
Britt
Britt Aronovich
Marketing Analyst
BAM (Brooklyn Academy of Music)
...
Peter Jay Sharp Building
30 Lafayette Ave.
Brooklyn, NY 11217-01486
...
P: 718.724.8038
E: baronovich@BAM.org<mailto:baronovich@BAM.org>
BAM.org
Facebook.com/BAMstage
2006 Mar 10
3
[OT] Rails in Bristol?
I suppose it''s just idle curiosity... but I''m wondering if there are any
Railsers from/in Bristol (I mean the English city, if there''s more than one)
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060310/7ee9689d/attachment.html
2005 Jun 09
8
RDoc Dashboard Widget
Hi everyone - sorry if this is a bit OT, I''m not subscribed to the
''ruby-talk'' list, but if anyone wants to cross post this over there...
This is just a quick announcement to let people know that I''ve built a
basic RDoc Dashboard widget for Mac OS X Tiger. It''s still beta-ish,
but seems to work okay for me - and it''s a convenient reference
2006 Aug 09
3
file_column and versions acting up...about to spit blood and kill people. please help.
Hey railsers...anyone run into this problem?
I''m developing an app which I''m deploying with Capistrano. That being said,
I''ve stuck all the file_column goodies in public/system/...
During my deployment script I chmod -R that directory and everything in it
to make sure www-data (the apache user/group) has access to it.
In development mode on my Macbook I can upload