search for: gorsuch

Displaying 20 results from an estimated 43 matches for "gorsuch".

2006 Oct 22
3
Date Helpers?
Does anyone have any ideas off the top of there head how to easily construct a date helper as one would see in Rails? Thanks, Michael Gorsuch http://www.styledbits.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/camping-list/attachments/20061022/7dda5a52/attachment.html
2006 Mar 14
7
Single form w/ relationships: how do I integrate it?
OK - I know this has been asked before, but I cannot find it in the archives. Forgive me if I''m creating more noise than I should. I want to know the easiest way to deal with this scenario: I have articles. I have categories for the articles. On the form where you write an article, there needs to be a free-form field to entire the category. The create() method will build the
2006 Apr 03
8
[OT] - Career Advice
...o the field? Are there any sites / resources that might give some guidance? I''m really curious as to how you all display things such as work history and code samples to prospective clients. I know this is a broad question, and any and all advice will be appreciated. Thank you, Michael Gorsuch -- http://www.michaelgorsuch.org
2006 Mar 04
7
Get ID after save
This is simple (I am sure) but how do you get the id of the inserted element after the element has been save? I thought it was something like this: @product = Product.new(params[:product] if @product.save add_image(product.id, params["image"]) flash[:notice] = ''Product was successfully created.'' redirect_to :action => ''list_products'' end
2007 Jan 10
2
Dream Ledger
...#39;m stubborn. Actually, I found that Camping was _extremely_ easy to build with, and even _easier_ to deploy. Rails is wonderful, but somehow Camping gave me a lot of joy. I''m excited to see how it stands up against any amount of traffic. Thanks for letting me pimp my wares, Michael Gorsuch http://www.dreamledger.com http://www.michaelgorsuch.org
2007 Jan 09
4
Overriding ServerError?
I''m getting ready to deploy a production app based on Camping, but have one little thing I want to iron out. Is it possible to override the ServerError class? I need custom 500''s to come up, and not the normal "Camping Problem!" page. I am trying to override, just like I do the NotFound class, but can''t seem to get it to take. I just get a blank page back
2006 Oct 28
4
Mounting an app as ''/'' under Apache?
Hello everyone, I have a site with a collection of camping apps. I''m trying to force one of them, blog.rb, to run as the index (''/''). I think that I understand the RDoc as stating that I can execute the following to make that happen: Camping::FastCGI.serve File.expand_path(current), Blog But, when doing so, I recieve the following error: Camping
2006 Mar 28
3
coolest software ("coolest startups" re-asked)
Asked a little while back about "coolest startups" using Rails, I think it''d have been better had I asked "coolest software." Besides the obvious (37Signals, Typo, Yakima Herald, Odeo, Measure Map, etc.), I''m just curious about other developments where people are using it to make nifty stuff. -- Giles Bowkett www.gilesgoatboy.org
2007 Mar 12
3
threading and concurrency
hello all. ive come to the point where im thinking about deploying my ''rails on rails'' app-development solution built in camping. mainly, im wondering what the barriers to thread-safety are. for db, i use redland, and afaik it spawns a single db connection for each find, and keeps a pool around to reuse. iow, no ActiveRecord. are class-vars a problem? theres one that
2006 Mar 14
6
Framework
hello all, I need any framework that generate models using the database structure.... Anyone knows if have this framework???? Thank''s -- Posted via http://www.ruby-forum.com/.
2006 Mar 05
2
RSS feed for blog entries...
Can someone guide me on the process of providing an RSS feed for my site? I''m not sure how to go about this. Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Mar 16
3
How to paginate in descending order?
How can I paginate a set of fields in descending order based on their created_on date? For example, in a blog app, you want the very first entry on the first page to be the most recent. I see that paginate has an :order parameter, but I don''t see any way of changing the direction of the order. Thanks, Jeff Coleman -- Posted via http://www.ruby-forum.com/.
2006 Mar 30
1
Active Directory Authentication
I have an opportunity to write a few small apps in my enterprise environment, but I need to authenticate users through our Microsoft Active Directory. Has anyone done anything like this? Many thanks, Michael -- http://www.michaelgorsuch.org
2005 Jun 20
8
YubNub makes Slashdot
Way to go YubNub! It''ll be interesting to see: 1) What so many people have to say and 2) How your rails app holds up to the slashdotting. Great work!
2006 Mar 13
3
validation and update
Hi, I have validation working in a situation similar to the following. (Please forgive any minor typos below) class Department < ActiveRecord::Base has_many :people end class Person < ActiveRecord::Base belongs_to :department validates_presence_of :name end @department = Department.new(:name=>"bedrock") @department.people << Person.new(:name=>"fred")
2006 Mar 30
4
SSL Requirement plugin
Is there any way to have the plugin require SSL to be used for all actions in a controller and just specify the ones you dont want to require SSL using ssl_allowed? class ApplicationController < ActiveRecord::Base include SslRequirement ssl_required *.* Many thanks. Also I could of course combine this with local.request? so that when developing locally http is allowed, but
2006 Mar 13
6
JobsOnRails
Announcing... JobsOnRails! I''m creating on a Ruby on Rails oriented job site and will be launching in the next few weeks. It''s a Rails-centric place for developers and employers to get in touch with a minimum of hassle. For now, I have a short outline of my ideas and an email signup form on the live site at http://www.jobsonrails.com. The site is coming along nicely and
2006 Apr 09
4
help with installing ruby
Hi, im new to all this. I have a laptop running Windows and i was wondering if someone could just write a brief set of instructions on everything i need to install/set up in order to get Ruby running. By the way, could someone explain to me exactly what Ruby is for and what you can make with it? Kinda a lot to ask but thanks! Ed -------------- next part -------------- An HTML attachment was
2005 Jun 06
14
Handling Images And Rails
On my website people will be able to upload images of themselves. I was wondering how people are presently handling uploading, resizing and optimizing images in Rails? Do you use a specific piece of software to do it? What would you guys recommend? Any code from RailsDay? :-) Also, do you guys store the images in the DB or just as files? What do you suggest? What are the pros and
2006 Mar 13
9
what the » ???
Im just learning trough the "geting started with ruby" i''m only on page Ruby.new and im stuck here''s the thing, I''m using FreeRIDE to duplicate the examples a = %w{ ant bee cat dog elk } a[0] ? "ant" a[3] ? "dog" for the live of me i cant seem to use Alt+0187 (?) what happen?? -- Posted via http://www.ruby-forum.com/.