Displaying 7 results from an estimated 7 matches for "lascarides".
2006 Apr 05
3
RoR user group in NYC?
Hi all,
On the Rails wiki there are a few user groups listed, including one in
Long Island, but none in New York City proper. Are there any user groups
in NYC not listed to which people belong (including relevant
non-RoR-specific ones)? Would love to share some ideas...
thanks,
- michael.
--
Posted via http://www.ruby-forum.com/.
2006 Apr 17
2
binary info in test fixtures?
Hi all,
I have a shopping application I am testing, and one of the models is an
Order model, within which a credit card number is encrypted and stored
in the db (mysql) as a BLOB field. When trying to run my unit tests, I
cannot get my model fixtures to load the encrypted data.
If, in my dynamic fixture (YAML) file, I could have access to my app''s
models, the problem would be trivial..
2006 Apr 05
4
validates_format_of ?
Hi all,
I''ve got a form which accepts a "price" field and I''m attempting to
validate it and allow some flexibility in the way the user enters it.
It''s a numeric field but I want the user to be able to enter dollar
signs and commas naturally in the data entry.
I''m trying to understand how to use validates_format_of, and I''m not
sure what
2005 Dec 30
4
AJAX Drag and Drop Detecting Drop Coordinates
This one''s kicking me in the *(&#^. All I want to do is create a draggable
item and then detect the coordinates where it is dropped. So my first
approach was to just use the draggable_element with :revert => false, like
so:
<%= draggable_element "my_element", :revert => false %>
That works great and lets me drag stuff all over the place. In the
scriptaculous
2006 Apr 17
9
Reload an application without restarting the Server?
Hi, I would like to set up a "shared hosting"-like rails environment on
a linux (+Apache1.3 +FastCGI +MySQL) machine. As we all know, rails
provides support for different environments.
Now I would like to enable my "users" to switch individual applications
between development and production mode. In theory, all they have to do
is to add
2006 Apr 05
1
an instance of one model in another model''s definition?
Hi all,
I am creating a multiple-storefront shopping cart in Rails, and have run
into a small problem. In addition to the cart, line-item, product, and
order models (pretty much standard for this sort of thing), I have a
Storefront model which locates the current storefront (by examining the
domain name), and initializes itself. This works fine throughout, and by
declaring a
2006 Apr 12
1
pluralization issue? (taxes/taxis)
Hi all,
Here''s an odd one. I have a "Tax" model which is related via a habtm
relationship to a "Storefront" model. In my view_store rhtml file, I
have the line :
@storefront.taxes.each do |tax|
This line returns the following error:
NameError in Admin#view_store
Showing app/views/admin/view_store.rhtml where line #52 raised:
uninitialized constant Taxis
See