search for: sephiro

Displaying 10 results from an estimated 10 matches for "sephiro".

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 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 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
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 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 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 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
2006 May 29
0
Display problem in IE
Hi, I''m using the stylesheet from AWD book and i have the following display problem in IE: http://oktaviandi.blackcurranthost.co.uk/IE%20Display.jpg I used a two-column layout and i guess the error highlighter fills in the entire width of main column. How do i fix this? Thanks, Lantis. -- Posted via http://www.ruby-forum.com/.
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/.