Displaying 20 results from an estimated 500 matches similar to: "Ruby on Rails: Up and Running: Rough Cuts Version"
2006 Aug 03
5
Multiple Loading events in form_remote_for
Is it possible to have multiple loading events in the params for
form_remote_for?
I''d like to do this :loading => "Element.show(''form-indicator'') and
this :loading => "Element.hide(btn-submit'')
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jun 21
3
Simple range question
I have a model with a datetime field called start_date. I''d like to do
a find on the model so that it returns only records with the start_date
equal to the current day.
Something like this:
@foos = Foo.find(:all,
:conditions => //?? start_date equal to today''s date
??// ] )
Thanks in advance for any help.
-------------- next part
2006 May 18
7
Ruby Before Rails
As I, like many people, are coming to ruby in the rails era, I''m curious
about how Ruby Web Dev was done prior to rails. Any veterans want to
share their insights?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/20cde24d/attachment.html
2006 Aug 10
2
search acts_as_taggable for multiple tags
Hey...I''m trying to search a Model that uses acts_as_taggable for multiple tags. I''d like to pass in a search string containing a space delimited tags names (i.e. "tag1 tag2") and return the objects that have been tagged by either one of those. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jul 11
18
Zip Code Ranges
Does anyone have any recommendations for working with zip code distance
ranges? I need to calculate the distances between US zip codes.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060711/f133d7de/attachment-0001.html
2006 Jul 12
2
37 Signals - Music
So I''ve heard the 37 signals guys mostly work from home - but when
you''re in the office, do you guys listen to music? If so - what kind of
stuff do you play?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060712/14e7f63c/attachment.html
2006 Jul 24
1
Dev Web Server Setup Suggestions?
I inherited a PC that I''m turning into a *NIX web server for in house
development. Its primary purpose would be for staging, before apps were
released to a shared-hosting environment. I''m probably going to setup
Apache 1.3/FastCGI to match where the site is currently hosted. I
develop in Windows, but I really want to get more familiar with the
command-line linux environment.
2006 Jul 31
1
Grouping arrays in the View
I remember reading something awhile back about an easy way to work with
object arrays in views. Say I want to arrange 20 images objects in rows
of 3. I have a collection of @users, where each user has a
user.thumbnail_url image. Is there some way to split these up so that
they can be easily parsed in rows of three?
Thanks,
Nathan
-------------- next part --------------
An HTML
2006 May 19
37
OS for rails development: Windows vs. Mac?
Caveat: this is not a discussion about *hosting* a rails app on windows.
Anyway...Macs are everywhere you look when researching rails (demo vids,
tutorials, and pictures from rails training classes). I''m interested in
what the pros to using a Mac for rails development are (besides
textmate). Is it more of a cultural thing, a what would 37 signals do
thing, is it a unix thing, or
2006 May 27
36
Might be buying a Mac
I might be buying a Mac tomorrow. I checked out the new 13.3in MacBook at the new Apple Store on 5th ave in NYC. I''m torn between the smaller MacBook and the MacBook Pro. We have a pro at work and I''m not that thrilled with the way it feels. I like the keyboard much better on the 13inch. However, I think doing development on that small of a screen could get frustrating. Any
2006 Aug 01
2
Date length in english plugin/built in?
Is there a plugin or built in function for converting a date interval
into the English equivalent? For example, "So and so posted this 45
minutes ago".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060801/e33b04d1/attachment.html
2006 May 02
96
[ADV] Second Edition of Agile Web Development with Rails
ANNOUNCING AGILE WEB DEVELOPMENT WITH RAILS, SECOND EDITION
===========================================================
http://www.pragmaticprogrammer.com/titles/rails2/
Rails has changed a lot since we announced the first edition of the
book a year ago. DHH says that the 1.1 release "boasts more than 500
fixes, tweaks, and features from more than 100 contributors." Who
are we to
2006 Jul 28
8
Building a Search Page as part of CRUD
I''ve been experimenting with Rails over the past couple of days and
have come across something that seems harder than it should be. In
previous frameworks I have used (WebObjects, php) a full search page
(which leads into a list view populated with search results) was part
of the CRUD that was either dynamically or statically created after
specifying table/object schema. In
2006 May 05
11
Rails Recipes or AWDWR 2 ?
Hi,
I bougth the Agile Web Development with rails First Edition and now want
buy rails recipes but what is the best decision buy rails recipes or the new
edition de Agile Web Development With Rails?
Jean Carlo Schechnner
www.idvirtual.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Aug 04
5
Any opinions on the Rails [Rough Cuts] books from Safari
Either -
Ruby on Rails: Up and Running or
Rails Cookbook
I''ve heard so many negative things about Safari pdf''s and the whole
program I''d like to get some feedback.
I have AWDWR(2nd edition), RubyforRails(Manning), Programming Ruby(2nd
edition), so I''m not even sure I actually need another book but maybe
the approach or content is somewhat uniuqe.
TIA
Stuart
2006 Mar 15
7
O''Reilly Rails Cookbook on Rough Cuts
Subject says it all. Anybody taken a look yet?
http://www.oreilly.com/catalog/railsckbk/?CMP=ILC-GG7423313304&ATT=railsckbk
After buying the Ruby Cookbook and the other Rails book, I''m pretty
gunshy about another Rough Cuts purchase.
Sean
2006 Jun 07
1
Site5 Hosting: Defautl Root Directory for site
Just signed up for hosting with Site5. So far the service has been
great, but one question I had couldn''t be answered by the tech support.
I need to change the default root directory of my site from public_html
to a rails directory (i.e. foo/app/public). The tech support suggested
mod_rewrite. Any other suggestions on ways to accomplish this?
Thanks,
Nathan
-------------- next
2006 May 26
1
Form for Multiple Models
I have a signup form that needs to do these three things:
1) create a new "Group"
2) create a new "User"
3) Add that User to the Group
I have the scaffolding for the create new user form:
<% form_for :user do |form| %>
<p>
<label for="user_name">First Name:</label>
<%= form.text_field
2006 Jul 09
2
using content from a model in application.rhtml
Hi all,
Not sure if Im doing this the right way (most likely not as I cant make
it work!)
I have an application that needs to put some content from two different
tables(db) on every page within the application.
What I thought I could do is write a small application helper that talks
to the model and asks for the data. But I cant for the life of me work
out how to actually talk to a model from
2006 Jan 23
6
Ruby at O''Reilly Rough Cuts
Not sure if this is old news or not, but it would appear that both the
Ruby Cookbook and a Rails book are now available for purchase at
O''Reilly Rough Cuts (something akin to PragProg''s beta book program):
http://rubyurl.com/nHz
http://my.safaribooksonline.com/?mode=roughcuts&srchtext=ROUGHCUTS
I haven''t tried them yet, but it definitely seems worth checking out.