Displaying 20 results from an estimated 4000 matches similar to: "Large-scale application"
2006 Feb 22
15
Fixtures and Relationships
In my daily development, I migrate back and forth between versions, and
often do: rake load_fixtures...
... in order to populate my development database with fun data.
Now, with any HABTM relationship, there are failures, as there is no way to
say "which" fixtures to load first.
Within an actual functional or unit test case, you could simply load them in
the proper order, but
2006 Mar 06
5
Dreamhost subscription?
I''m thinking about signing up with DreamHost for the base Level 1 $9.95
plan. Does anyone think that''s a bad idea?
I''d like to know others thoughts, and who they recommend for RoR
hosting?
Thanks!
--
Posted via http://www.ruby-forum.com/.
2006 Jan 11
8
Oracle and Rails seems really slow.... In development
I''m just looking into how to connect to Oracle using Rails. I''ve got
everything connecting and working as it should.
I have a Users table in Oracle:
create_table "users", :force => true do |t|
t.column "username", :string
t.column "created_on", :datetime
t.column "email", :string
t.column "note", :text
2006 Mar 01
3
Form helpers and overloaded methods - help!
Can someone explain why form helpers appear to bypass any model methods
I override for fields that are bound to database fields? It would be
great if someone could tell me how to force the form field, etc to call
the method instead of looking at the database / attributes collection.
Let''s say I have a column called ''price'' in my database table "books"
2006 Jan 19
4
A simple scaffolding question
All,
When I generate scaffolding on my model, it doesn''t display all the
fields in the create and edit views. It populates the views with
text/char and date types, but omits any integer fields. Is this
normal behavior or a bug?
Thanks!
-Nick
2006 Feb 13
8
Anyone have Ruby for IIS installer?
Erwin:
We found it''s not worth the time to do this. It won''t work reliably.
You''re in for a world of hurt. We''ve given up on the idea after several
months of trying (and some great feedback from this list). There are
some on this list who claim to have gotten it to work, but that might
just be luck.
We''re now using Apache on a higher port, and using
2006 Mar 20
24
Newbie Question about Custom Classes
Sorry if this is a complete newbish question, but I''m trying to wrap
my head around creating custom classes in my rails webapp. I''m
normally a Java developer, but I figured I''d give RoR a try and see
how I like it, and whether it would be useful for production use with
a new client.
Anyways, what are the best practices for custom classes? Where and/or
how do I create
2006 Feb 24
8
RoR meets .net *cringe*
It was a miserable failure for us. Your best bet is to run on Linux.
> 1. Has anyone done any benchmarks with it? Is there any reason this
> couldn''t be viable for production loads? (feel free to speculate if
you
> haven''t)
When it finally worked, after two weeks of trial and error (and we can''t
reproduce it again) it performs poorly under IIS. It looks
2005 Dec 16
25
I Would Really Like to Try RoR but...
it''s been a nightmare trying to set it up. I keep getting a an
Application Error message when I try to navigate to a url which should
be taken care of by my newly created controllers. For instance, I
wanted to test RoR out so I created a MyTest controller which should
allow me to navigate something like:
http://localhost/rubytest/MyTest
but it does not. I have no problem getting
2006 Jan 11
8
Enterprise Rails Apps
Is there a place I can get a list of "enterprise" Rails applications?
Apparently, even though I''ve looked at the wiki and cited the examples
there, there are some at my organization who still can''t find proof that
Rails is usable in an enterprise setting.
Would you fine folks be able to tell me about some large-scale projects
that could be classified as
2006 Feb 13
7
Concatenation
I have this:
<%= @tech_standard.category + " " + @tech_standard.point + "." +
@tech_standard.subpoint %>
I get this error:
cannot convert Fixnum into String
point and subpoint are number.
How do I concatenate those values?
Seth Buntin
Web Resources Coordinator
Kentucky Academy of Technology Education
Murray State University
--------------
2006 Feb 28
6
File_column, RMagick, and watermarking
I''m working on a photo gallery and I''m using File_column to handle the
uploads of the files and create my thumbnails, but does anyone here have
any idea how to have a watermark (opaque text maybe) placed over one of
the versions? Any ideas on how to go about this would be great. Even if
it''s just straight RMagick code, that would be fine too.
Thanks in advance for the
2006 Feb 17
21
''Best'' IDE for testing and debugging
I''m trying to decide which IDE to go with for RoR development. I put a high premium on integrated test automated tools and debugging capabilities. I''d appreciate any sharing of experience.
I''m currently running Instant Rails on a Windows 2000 box (using IR due to problems I encountered trying to get all the components set up individually). Also, I''m using
2006 Mar 01
4
graphics rendering
Hey
Has anyone got a graphics server running alongside ruby on rails? Kind
of new to graphics rendering on a web server, so some general tips on a
successful direction to go in would be great. I need it for automatic
rescaling of images, similar to flickr.
Thanks,
RGC
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Mar 15
9
Mongrel Web Server 0.3.11 -- Edge Rails and Win32Compliant
I don''t think there''s a way to do that other than using a proxy
(ISAPI_REWRITE) or just a server-side redirect. I''d love to be proven
wrong though.
-----Original Message-----
From: rails-bounces@lists.rubyonrails.org
[mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of frazer horn
Sent: Wednesday, March 15, 2006 9:13 AM
To: rails@lists.rubyonrails.org
Subject:
2006 Mar 02
3
Left Joins with Rails?
Everyone,
I have two tables (assuming their most logical types):
apartments
id
address
bedrooms
bathrooms
googlemaps_id
googlemaps
id
url
the models:
class Apartment < ActiveRecord::Base
has_one :googlemap
end
class Googlemap < ActiveRecord::Base
belongs_to :listing
end
I would like to find_all by searching the attributes in apartment, and
also return the google map
2006 Feb 24
2
Formatting values of numbers using text_field
Anyone have a quick solution on how to format a number in a text_field
tag?
<% text_field "price", "amount" %> returns 100.0 and it would be nice
if it showed 100.00
Of course, number_with_precision works nicely, but how do you make that
work with text_field?
I thought maybe overriding the getter in the model. However, this means
I would have to bring the helper
2006 Apr 04
21
Rails on IIS
I just spent the last two days trying to get Rails on IIS to work with
Windows 2003/IIS 6.0. I think I''ve finally got it working, but it took
more googling than I care to describe. Now I''ve got a few questions:
1) Is there some ''official'' Rails on IIS guide on this site on another
official ruby site that''s known to work well?
2) If not, can someone
2006 Mar 31
3
Layout Question .. (Sitemesh related)
Hi,
I understand that the layout concept is very similar to OpenSymphony''s
Sitemesh project. I have done a lot of development with Sitemesh, but am
fairly new to Rails. I am wondering if there is a way for a layout in
rails to find out value of a variable from a page it is decorating?
In sitemesh you would be able to do <meta name="show_menu"
content="true"> on
2008 Jul 18
2
ActiveRecord: SQL IN operator
I want to use an array in the :conditions of an ActiveRecord Find so
that a SQL IN statement is created. However, I also want to specify a
greater than condition on a timestamp column too.
From the Docs:
An array may be used in the hash to use the SQL IN operator:
Student.find(:all, :conditions => { :grade => [9,11,12] })
How do I modify this so that it also contains the timestamp