search for: jmcgrath

Displaying 20 results from an estimated 27 matches for "jmcgrath".

Did you mean: mcgrath
2006 May 05
4
Is sanitize() strong enough to protect me from XSS?
Haven''t been able to find a good enough answer on whether using sanitize() is enough to really protect me from XSS attacks I basically have a blog page that I want to allow people to display comments on but would like to allow html tags to be posted on the comments, these could html tags like the imageshack img tags, youtube player, photobucket img tags etc any other approaches or
2006 Mar 18
2
redirect killing dispatch.cgi
hi, having a maddening problem with a redirects between controllers. app is working fine on my two local machines, a mac and a pc, with either webrick and lighttpd/cgi on either machines. i move it to my hosting provider and try to get it working with apache + cgi, most of it works, but it fails at a specific spot, and causes dispatch.cgi to hang indefinitely. nothing shows up at all in the
2006 Jan 14
11
nuby: do models have to inherit directly from ActiveRecord?
Hello, I have a few models -- book, cd, dvd -- for which I''d like to have an abstract base superclass to hold some common stuff. That abstract class, I was thinking, would inherit from ActiveRecord. Didn''t work, though, and looking around, I found this: <http://wiki.rubyonrails.com/rails/pages/HowtoMakeAbstractModel>
2006 Jan 19
4
create an object from a string?
I''m trying to dynamically create an instance of an object at runtime, from a String. I have a method that returns one of a number of Strings ("Car", "Motorcycle", "Bicycle"), and when I receive the String, I then want to instantiate one of those objects. Seems like there should be a way to do it in Ruby, but maybe I''ve been up too long --
2006 Apr 24
1
Just a couple questions on how I should go about
> I need a simple blog with categories and comments and an archive. I want a > nice posting system, but don''t want it in HTML. Is there something I can add > or make, kind of like BBCODE? http://whytheluckystiff.net/ruby/redcloth/ http://wiki.rubyonrails.org/rails/pages/RedCloth > I pretty much know what else I have to do, but there is one more thing. A > client section.
2006 Oct 31
2
corrupted index preventing save
...54fa9eaf95becbb9723a9bd48f9c2 Parameters: {"user"=>{"subscribe_to_newsletter"=>"0", "password_confirmation"=>"[FILTERED]", "terms"=>"1", "password"=>"[FILTERED]", "login"=>"jmcgrath", "email"=>"jmcgrath at whoi.edu"}, "commit"=>"Sign Up", "action"=>"signup", "controller"=>"user"} Unable to send confirmation E-Mail: Lock Error occured at <except.c>:103 in xpop_context Error...
2006 Jun 17
2
preventing indexing of an acts_as_ferret''d model?
Hi, this is hopefully an easy one, but I''ve gone through the api and searched past forum entries, and am drawing a blank. I have a model that with acts_as_ferret mixed in to it, which is working fine. But I want users to be able to set a ''private'' attribute on the model, and when it''s set to true, create and update methods would skip indexing. So, how can I
2006 Jan 16
15
where''d we come from?
I''m curious -- how many of us came to Rails from other branches of the OO world -- Java, C# -- and how many of us came from the design or non-OO scripting worlds? Reason I ask is that I''m finding Rails a blast and very productive, but I think one reason is that I already cut my teeth on MVC and ORM during two years of writing apps with J2EE/Struts/Hibernate. And in Javaland, it
2006 Apr 22
2
ruby/amazon isssue
hi all. we''re using the ruby/amazon library (http://www.caliban.org/ruby/ruby-amazon.shtml), which totally rocks. but i''m noticing that when nobody has used our site in a while (it''s under development, so basically nobody uses it at night), the ruby/amazon calls sometimes fail. seems like something times out, perhaps. anybody have similar issues, or know what might be
2006 Apr 19
2
Credit Card Processing / Merchant Account
Hi All, Has anyone implemented a credit card processing / merchant account system using Rails? I know that there is a ''payment'' gem that is supposed to integrate with the Authorize.net gateway, but I''m wondering if that is the best (and only) solution out there. Are there any other recommended solutions from Rails programmers out there? Thanks in advance for the
2006 May 29
14
Jabber Powered Rails Chatroom
For those who cant access IRC, or just looking for a quick browser based alternative, i started an open jabber powered webchat for rails. Hopefully this will be a nice alternative for people to go to ask questions, get some help, offer some help, etc. I hope the community enjoys it, just trying to give a little back for all the hard work. It can be accessed here http://jabber.dufftech.com
2006 Jan 17
5
Noob Question concerning code in Agile Web Development with Rails
Hi, I''m currently learning Ruby on Rails using "Agile Web Development with Rails." I am using RadRails as my development environment. Everything has been going along well, until the end of chapter 7. Just before the end of the chapter, we set up our store pages so that they can be styled with the depot.css stylesheet. This is where I run into my problem. The stylesheet
2006 Apr 05
5
duplicate search results
i''m using Ferret 0.9.0 with acts_as_ferret (the one from svn.jkraemer.net), and i''m getting duplicate results, as described in this thread: http://rubyforge.org/pipermail/ferret-talk/2005-December/000048.html is there a way to configure the indexes created by acts_as_ferret to use :key => :id, as described in that thread? i''ve poked around in the code, and had
2006 Jan 22
2
a newbie doomed in the first introduction to ruby.
Hello, I have bought the Dave Thomas Agile Developtment with Rails. (I have previously bought and read his Programming with Ruby book) On my winxp sp2 system ruby 1.8.15 (one click installer), rails 1.0framework (with ruby gems) and mysql 5.0 are installed. While following the example stated in the Chapter Building an Application I had following problem. After creating databases for test,
2006 Jun 30
50
Time To Pick the Mongrel BUGS Mascot!
Bradley Taylor shot me this *goldmine* of ugly ugly ugly dogs: http://www.sonoma-marinfair.org/uglydogvote.shtml I *have* to use one of these for the Mongrel BUGS Mascot. He''ll go on our bug list page and replace the little beetles on the left. Pick the dog you think best represents a lovable but defective pooch and reply to this with your +1. Let the voting begin! -- Zed A. Shaw
2006 Jan 22
2
a newbie doomed in the first introduction to rails.
...assword_here > > development: > database: db_development > <<: *authentication > > test: > database: db_test > <<: *authentication > > production: > database: db_production > <<: *authentication > > On 1/21/06, John McGrath <jmcgrath@whoi.edu> wrote: > > > sounds like a mysql issue. can you connect to the dbs as the users you > > have configured in database.yml through other means (ie, besides rails)? > > > > in database.yml, are you using the socket or host configuration to > > connect? i th...
2006 Jun 14
0
upload progress bar wih lighttpd 1.4.11?
I''m trying to implement the upload progress bar with lighttpd 1.4.11, and i''m seeing various posts (linked below) indicating that lighty doesn''t support it. sounds like they''re working on it, though. anyone have any idea what the current status of this is? or if there''s a workaround in the meanwhile? those posts:
2006 Jun 24
0
integrating paypal pro with rails?
I''m about to get starting integrating Paypal Website Payments Pro, and I''m wondering if anyone has any tips or best-practices to share. So far I''ve found a few paypal related tools, of which the ELC Plugin (link below) seems the best suited for payments pro, but I''d love to hear any experiences verifying or contradicting that, or any war stories at all. Best,
2006 May 16
0
acts_as_authenticated vs. login_engine
which to use? we''re not doing anyting too fancy, though that may change -- we might need rbac in the future. i''m using loging_engine right now, pretty happily, but i came across a blog entry that claims acts_as_authenticated is the latest and greatest. if anyone has some pros and cons to share, i''d appreciate it -- would like to make the correct choice before we launch
2006 Apr 03
0
Re: acts_as_taggable can not be used under 1.1
acts_as_taggable is working fine for me on 1.1. i''m getting acts_as_taggable from svn (http://dev.rubyonrails.com/svn/rails/plugins/acts_as_taggable/), installing it into /vendor/plugins/acts_as_taggable > If the acts_as_taggable plugin has been installed via ruby script/plugin > install acts_as_taggable while not acts_astaggable gem installed via gem > install