search for: thewehn

Displaying 20 results from an estimated 24 matches for "thewehn".

Did you mean: therein
2006 May 11
2
Capistrano; different users on different servers?
So, I have two different servers I''m deploying to, and I have different ssh users/passwords on each. I assume there''s a way to set these in deploy.rb, but I''m not sure how. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060511/4d0b62c6/attachment.html
2005 Mar 14
1
(newbie) /tmp/fcgi_ipc ?
...directory? Can anyone guess why the chmod''ing doesn''t seem to "stick" ? I''m just trying to understand what''s going on here. I haven''t had to deal with Fast CGI before Rails, so it''s new ground for me. -- Joshua --- Geek out: www.thewehners.net/joshua/
2006 May 08
8
RSS Feed / xml.link problem?
I''m having an odd problem. I''m trying to create an RSS feed (working off the Recipe), but "xml.link" generates error about "Can''t convert Hash to String". From the error trace, it *looks* like it''s calling the a fileutil ''link'' method (as in, filesystem symbolic link) - even xml.tag! generates this error. Er, how do I make
2006 Apr 17
3
Slow-down with Capistrano?
This could be entirely my imagination, but it _feels_ like my apps are ever so slightly less responsive after deploying with Capistrano. Is that even possible? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060417/73f30cef/attachment.html
2006 Mar 07
0
Re: Hash in a Cookie?
Actually, the first case here doesn''t work at all. I get cookies[:cities] = [] # a blank array? So, it looks like the cookies methods don''t allow Hashes... On 3/7/06, Josh on Rails <rails@thewehners.net> wrote: > > In the second case (cities), this DOES work: > > cookies[:cities] = @params[:cities] > > BUT, creates a this-session-only cookie. Trying to set an expiration: > > cookies[:sources] = { :value => @params[:cities], :expires => > 30.days.from_now...
2006 Jan 25
1
Non-model methods go where?
Hi all -- I collect two pieces of data from users, then perform a calculation on this data. Where should I put this calculator this method? Helpers seem view-oriented, and the result here is not being sent to the user. Anyway, I tried putting the method in a helper and got a "no method" error. At the moment, I have it in another Model, but this seems really lame to me, so I
2006 Mar 09
4
calling partials from public/*.html?
Can I call partials from html files in public? Is this wise? I''ve got a bunch of html files and I''d like to let them have access to pieces of Rails, but I''d like to manage them through Contribute or some such. I *could* wiki them up, but that seems like a lot of work for pages that don''t get updated that often (yearly or so). Thanks in advance! - Dave --
2006 Mar 04
12
cross domain ajax
I''m trying to implement a cross domain solution for my rails app. I want people to be able to fill out a form on their site and the data will be passed back to my site through ajax, and their site gets updated. I''m looking for the best way to implement this. I would like to use a JSON approach like yahoo does, but i''m not sure if it will work. Though the form is
2006 Apr 29
2
iCal / Authentication / Site5 ?
So, I''m working on adding iCal support to my app. Since I want to restrict users to their own calendars, form-based authentication isn''t going to work, so I''m using the Basic HTTP Authorization from this page - http://blogs.23.nu/c0re/stories/7409/ Everything works fine in my dev machine, but on the server (Site5), I get the login prompt ad infinitum. Has anyone run
2006 May 09
1
Rails freeze, weird error
Hello -- So, I have a bunch of apps on my dev box, all currently v1.0.0. I thought I could use the freezing techniques to test each app for 1.1.x compatibility individually, but that doesn''t seem to be working out... First, I checked out from http://dev.rubyonrails.org/svn/rails/tags/rel_1-1-2/ into vendor/rails Then I ran "rake rails:update". Then I went into console, and
2006 Mar 08
4
scrollbar doesn''t show on the right place when using partial( )
Hi, I''m using partial() to connect ours pages togother, however, one of the partials is larger than the other, when it happens, instead of create a scrollbar on the browser, a scrollbar appears at the end of the partial, since the partial is in the middle of the web site. it isn''t really good... So does some one know how to remove the scrollbar on the partial and put it on the
2006 Mar 08
3
email signup/splash page
Does anyone know the easiest way to put up a splash page where people can add their email addresses to be notified when the site is ready? I want regular visitors to be directed to this page. How can i have this and still be able to test/develop the site? I know a lot of web apps do this while still developing, so i''m looking for a solution that i''m sure exists, but i cant
2006 Mar 06
2
Cookies & gsub ?
I''m looking to store the current params into a/some cookie(s). This works: @params.each_pair do |this_index, this_param| cookies[this_index] = this_param end Except, I get session-only cookies. This doesn''t work: @params.each_pair do |this_index, this_param| cookies[this_index] = { :value => this_param, :expires => 30.days.from_now } end
2006 Mar 08
5
@params["aKey"] and multiple aKeys in request
Hi, I''ve actually run into an interesting problem and no idea how to fix it. In request parameters i have multiple "url" keys like this: url=www.abc.com&url=cnn.com&url=.... But @params[:url] has only the latest value for "url" key instead of having values kept in array. So what''s next? Is there way out of this issue? Thanks, G?bor PS.: I use rails
2006 Nov 03
4
Bug? IE, getElementsByClassName and "length"
...;. Solutions: Change the name of the input, or use the optional parent argument to avoid it. More: Looking at the getElementsByClassName declaration in prototype.js, I''d guess this is really a problem with $A or getElementsByTagName, but that''s as far as I got. Demo: http://www.thewehners.net/joshua/test_ie_length.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gma...
2006 May 01
2
Find by time?
I''m trying to find events created after an initial date. I''m sure it''s something obvious, but I''m not sure why this isn''t working: def self.find_recent find(:all, :conditions=>"created_at > #{Time.local(2006, 4, 27, 22, 0, 0)}") end Time for more caffeine for me...
2006 Apr 07
0
Migrations & Postgres: Change column not functional?
I''ve got a MySQL app, which I''m moving to a new server which is using Postgres. This seems like the perfect application of migrations. (Note: I don''t mean "using migrations to switch from MySQL to Postgres" so much as "Hey, I''ve _been_ using migrations all along, and this is where I cash in".) There were some odd bugs when working with the
2006 Apr 14
0
Trouble installing plugin?
Hello all -- I''m having trouble installing a plugin - exception_notification, specifically. I''m developing on WinXP / Cygwin, with Rails 1.0 at the moment. $ ruby script/plugin discover $ ruby script/plugin install exception_notification svn: PROPFIND request failed on ''/rails/plugins'' svn: PROPFIND of ''/rails/plugins'': 403 Forbidden
2006 Mar 10
3
[OT] Rails in Bristol?
I suppose it''s just idle curiosity... but I''m wondering if there are any Railsers from/in Bristol (I mean the English city, if there''s more than one) ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060310/7ee9689d/attachment.html
2006 Apr 16
2
Capistrano and multiple Dev environments?
I have working copies of code in development on multiple places - work machine, home machine, laptop, etc. I can''t always force these machines to use the same credentials; I end up with each machine having slightly different database.yml configurations. With Subversion-Pre-Capistrano, I left the entire config directory out of Subversion (or some kind of template; see