search for: wes

Displaying 20 results from an estimated 583 matches for "wes".

Did you mean: we
2006 Mar 20
5
Wrap error_messages_for() call when no instance var present
...ge doesn''t break. I''m doing this: <% if @target_list? %> <%= error_messages_for ''target_list'' %> <% end %> I get a syntax error on line 1. What is wrong with if @target_list? to test for the existence of the @target_list variable? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 May 30
5
Implementing HTTPS with WEBrick?
...mand that will start a HTTPS based WEBrick server. Is this correct? Also, it appears that the https.rb module is not included with the WEBrick bundled in Rails. So, I will need to go get that piece, right? Lastly, do I need to set up a cert. of my own on the server side to test with? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Mar 18
9
Using <%= text_field %> within partials is problematic
...I do this: <%= text_field target_lists, :name %> I get `@#<TargetList:0x3a1ae50>'' is not allowed as an instance variable name. How can I successfully use the <%= text_field %> call within a partial on each element of a collection that is being passed in? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Jun 27
5
Can''t call public application.rb method from ERb template
...;' end But when I go to my initial page, I get undefined method `get_menu_display_style'' for #<#<Class:0x37272b0>:0x3727220> I''m confused. I figured that I would have access to the application controller methods from any ERb template - is this wrong? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Apr 10
5
I have a Capistrano 1.1 patch - where does it go?
I have a patch for Capistrano 1.1 - how do I submit it? Wes -- Posted via http://www.ruby-forum.com/.
2008 Dec 18
2
username aliases?
Is it possible to specify aliases for the username, so that a user can choose any 1 of several names to log in with? Like let's say we have my name as a username, "Wesley". But what I if I want to be very lazy and only sign in with "wes"? And I would like to have the option of using either. And if I change any attribute of one alias, it's all stored in the same place, so it should take effect for the other aliases. So, if I log in as "wesl...
2006 Jul 14
7
Form validation - keepin correct fields displayed on refresh
...object that''s backing the form being cleared out every time I re-render the form after validation fails? Has anyone implemented another object - we might call it the "view model," which keeps track of the state of the form until it''s successfully submitted? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 May 25
5
Setting a global before_filter action in application.rb
Can you set a global before_filter action in application.rb? So, for example, you could control authentication for all of the controllers in an app.? Obviously, you would need a way to reference actions by controller within this "global before-filter". Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Mar 22
6
Relatively easy HTML/XML parsing utilities?
Anyone know of any Ruby modules which can be used to parse an HTML page ? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Jul 13
5
Generic page element display initializer in a layout?
...st call a Javascript method called initializePage() and then provide this initializePage() call in my specific page to call whatever handlers I need to in order to display things correctly. Something in the back of my head is screaming AJAX but not sure how I would get that in. Any thoughts? Wes -- Posted via http://www.ruby-forum.com/.
2015 Jun 27
4
centos 7.1 and compiz
I have compiz installed on centos 6.6, and I?ve been testing 7.1, but I can't find any info on installing compiz on 7.1. Is there any info for this or is it not supported yet? Thanks, -wes
2006 Feb 28
0
FW: 7960-tones.xml (Schochet, Wes)
...iling list that he sent this to. <sccp mailing list> 2006/2/28, picciuX In fact: the one you mention is not a config file; it is part of the "Locale-Installer for Cisco Call Manager". You need a valid service contract to download it. Sorry... picciuX 2006/2/28, Schochet, Wes <wes.schochet@selectcomfort.com>: I know that's true of firmware, there seems to be a lot of XML config file examples out there on just about every web site you find. of course, not these particular one that I am looking for.... ------------------------------------------------------...
2006 Mar 22
3
Which JavaScript effect is this?
http://canadaonrails.com/ (when you hover over news and events) I''ve seen this implemented on a few rails sites now and I was just wondering if it is just a simple javascript from the prototype library. Does anybody know of any links on how to do this? Thanks in advance! -- Posted via http://www.ruby-forum.com/.
2006 Mar 14
8
The RoR equivalent of out.write() in JSP?
...tring or <% out.write("test") %> //write directly to the output stream. What is the method of "writing to the output stream" in RoR? Basically, what is the equivalent of out.write()? I have an if then statement that I want to put around a call to h some_stuff Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Jul 21
10
Using an image button for "link_to_remote"
...button equivalent of "link_to_remote". Is there a helper that I can use, or do I need to build it by hand? I see button_to_function(), but that sets me up to call a Javascript function, not post to a Rails action. Or can I just do a link_to_remote and force it to be a POST? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Jul 03
4
text_field doesn''t call overridden ActiveRecord getters
...r this in my template, the default formatted database value of the DateReceived timestamp column is displayed instead of my specially formatted version that I return from the DateReceived method. Does text_field generate code that bypasses overridden getter methods for an ActiveRecord object? Wes -- Posted via http://www.ruby-forum.com/.
2006 Nov 08
2
freebsd-security Digest, Vol 184, Issue 2
On Nov 4, 2006, at 8:30 AM, Wesley Shields <wxs@atarininja.org> wrote: > > On Fri, Nov 03, 2006 at 07:54:59AM -0800, Ricardo A. Reis wrote: > [...] >> In the II COLARIS - Joanna Rutkowska alert the possible >> new technology of Malware's using hardware virtualization, present >> in AMD and IN...
2006 May 01
4
URL encoding in Rails?
Simple question: How does one do URL encoding in Ruby/Rails? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 May 21
2
Samba share question
I have the following Samba share: [Programs] writable = yes path = /home/wes/Download I want myself to have write access, and everyone else to have read-only access. The write access works fine when I authenticate, but anyone that does not authenticate gets the you do not have permission error. The /home/wes/Download folder ACL has read access to group and others. What...
2006 Jul 10
8
Setup new data in the test database _after_ unit test runs
...sing a fixture, I imagine) into my test database that will act as fresh "system test" data for my users to play with. What is the best way to "load the standard system test/user acceptance data" after I''ve successfully run through all of my automated tests? Thanks, Wes -- Posted via http://www.ruby-forum.com/.