similar to: Display problem in IE

Displaying 20 results from an estimated 3000 matches similar to: "Display problem in IE"

2006 Apr 09
8
Computer Name
How to get the name of the computer accessing the application? I mean the computer the user use to access the application. Thanks, Lantis. -- Posted via http://www.ruby-forum.com/.
2006 Apr 08
2
Multiple submit buttons
Hi, How do i differentiate different submits tags / buttons on one form. Say I want to create an edit form and I want to provide two buttons; one to save and one to cancel. I would have: <%= submit_tag ''Ok'' %> <%= submit_tag ''Cancel'' %> How do I know which button get pressed by the user? One more thing, how to specify the default selection in a
2006 May 23
6
Accessing file in public directory
How do i access a file in the public directory of rails application? I have several html files in there and i want to link them from the rhtml file. Basically to display a popup. Here is the code in foo.rhtml: <a href="javascript:popUp(''/summary.html'')" class="normal">Learn more</a> It doesn''t work. Any idea why? Thanks, Lantis. --
2006 Apr 07
3
Different validation for different users
Hi, I have two types of users; normal user and admin. I have a field called priority in the table task. This priority field is invisible to the normal user, but not to the admin. The admin has to fill in the priority field when he adds a record via filling a form. Thus, i need to add validates_presence_of :priority to the model task. But, if i do this, then the normal user can''t add a
2006 May 23
1
Detecting internet connection
Hi, Is it possible to detect whether the internet connection is on from the application? Thanks, Lantis. -- Posted via http://www.ruby-forum.com/.
2006 Mar 31
2
W3C Standard
I''m rather new to web programming. I''m wondering, does rhtml file conform to W3C standard? Or is there a way to make it conform to W3C standard? Thanks, Lantis. -- Posted via http://www.ruby-forum.com/.
2006 Apr 16
5
ActionMailer
Is there a way to connect to a SMTP server that requires TLS since ActionMailer doesn''t support it? Thanks, Lantis. -- Posted via http://www.ruby-forum.com/.
2006 Jun 24
1
@version_control_book not available while testing - AWD book 1 page 148
In the page 148 of the AWD book it''s mentioned that the while testing @products and @version_control_book are automatically made available. That''s not the case with me. In my test environment I don''t get those two variables. I was wondering if anything has changed in Rails 1.1 because in the new edition of the book (AWD - edition 2) there is no mention of such
2005 Apr 11
2
Xen, Se Linux
As an update it states the following when booting either rhel4, fc3 or fc4 under xen? Not sure if the "unable to open an initial console" is the real issue, this doesn''t happen under fc1, or rhel 3. Can anyone help please Freeing unused kernel memory: 152k freed Warning: unable to open an initial console. ***************************************************************
2007 Apr 10
1
AWD page 624-626 Understanding how Apache, Mongrel and Rais work together?
I''m trying to understand the ''Big Picture'' of how Ruby on Rails applications are deployed and operate in distributed environment (one deployment server, many remote servers). I follow AWD by Dave Thomas'' explanation from pages 624-626. From reading these pages I have these questions; 1. How does the RonR instance on the ''remote'' server gain
2006 Apr 15
3
Dumb newbie question - text formatting?
I have a MySQL "text" element that I''m trying to display, but it''s not formatting (i.e. it''s all one big paragraph). In the AWD depot example it doesn''t look like they do anything special, but they get formatted text. I''ve tried it with both: <%= show.description %> - puts text, and formats according to any HTML tags I typed in.
2006 Apr 17
5
Finding out updated fields
Hi, When we update a record via an update form, is there an easy way to find out the fields that have been changed. If the update is successful, i want to display: The following fields have been changed: field-name = new-value ... Thanks, Lantis. -- Posted via http://www.ruby-forum.com/.
2006 Mar 14
3
specifying table type
I''ve been creating my tables using the command line approach Dave advocates in AWD. I just noticed that they''re being created as MyISAM-type tables. I remember reading (but not where) that I should be creating these as InnoDB-type tables. So, two questions... 1) Is the table type important? (a "why" component to the answer would be nice too ;-) ) 2) If so, is
2006 Apr 03
3
AJAX Insertion.Before
Can anyone point me to an example of how to use the Insertion.Before technique? I''ve just begun trying to use AJAX and worked through Curt''s "Ajax on Rails". The description in AWD of what this does is just what I need, there''s no example of how to use it, and I''m getting no joy using Google. Any help is tremendously appreciated. -------------- next
2006 Jun 08
0
Question about searchgenerator
Hi, I am using the search generator in my application. How do i incorporate this to the application when i deployed it on a host since i can''t install simplesearch via gem on the server? I tried unpacking the gem on my local machine. I got the folder SimpleSearch-0.5.0 and i added it to the vendor directoy of rails. I also added ''require_gem simplesearch'' to the
2006 May 24
0
Error in running functional testing
Hi, I got the following error when i tried to run functional testing: D:\Uni\Programming\Ruby\Project\test>ruby functional\devices_controller_test.rb c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependenci es.rb:200:in `const_missing'': uninitialized constant ApplicationController (Name Error) from
2007 Jan 31
1
help with extensions
I am working with extensions to has_many associations, and I want to create a finder method that is conditional on the attributes of the object whose association I''m working with. So, to use the example from the Agile Web Development: the authors show on pg 340 in the second edition how to pass an argument to a finder method. But I want to know if it''s possible to instead have
2011 Oct 28
3
Is active record 3.1.1 supposed to be threadsafe?
Hi There Is active record 3.1.1 supposed to be threadsafe? In other words, should the following (concurrent access to a model) work? Thread.new do MyModel.where(some_condition).first end Thread.new do MyModel.where(some_condition).first end I ask because upon the answer, it depends which component should handle synchronization, and in consequence, which component to patch/fix. A bit of
2016 Sep 08
1
[PATCH] virt-v2v: Support for ova exported from AWS [v2]
1. AWS the name tag is not mandatory - using default as a name 2. AWD doesn't prefix 'ovf:' as prefix to disk path There is an open bug for oVirt: https://bugzilla.redhat.com/show_bug.cgi?id=1371843 Signed-off-by: Shahar Havivi <shaharh@redhat.com> --- v2v/input_ova.ml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/v2v/input_ova.ml
2006 Apr 15
8
Inheritance in Rails - I need some help
I''ve got a model, "category" and another model "subcategory." Each subcategory belongs_to a category, and a category has_many subcategories. What I need to do is set it up so that I can search Category and Subcategory with one .find call. So: Category.find(:all, <etc) will find categories and subcategories. Now, I believe this can be done by making