Displaying 20 results from an estimated 5000 matches similar to: "Adding to an association from a long list of items"
2009 Oct 06
1
Problems Processing multiple form elements generated by javascript actions
Hi all,
After many days of struggling, I have a multi-model form with ajax
elements more or less working, but I''m hitting a wall with a few bugs
that I can''t figure out. Guidance would be very much appreciated.
I''m using the Ryan Bates technique from Advanced Rails recipes to
dynamically add and remove elements on a multi-model form.
2008 Feb 26
0
[ADV] Updated Advanced Rails Recipes PDF
Hi Folks,
We''ve just uploaded the third beta revision of the Advanced Rails
Recipes PDF:
http://pragprog.com/titles/fr_arr
To get your updated PDF, simply sign in to your account (http://
pragprog.com/my_account) and ask the system to regenerate it.
This revision adds 14 new recipes (81 total) from some of the top
developers in the community:
* Process Recurring Credit Card
2006 Nov 04
0
New version of the AWDwR beta book available
I''ve uploaded the B1.12 version of AWDwR.
The major changes include:
- Justin Gehtland''s new chapter on Web 2.0
- James Duncan Davisdon''s chapter on deployment (this is an
interesting one---JDD has strong opinions on how a Rails
application should be deployed, and the chapter mirrors this.
You''ll find it short and easy to follow).
- I changed the
2005 Oct 12
2
Help with act_as_nested_set
Hi, I''m trying to get act_as_nested_set working, and I''m puzzled.
I googled the following
http://codefetch.com/cache?url=http://media.pragprog.com/titles/rails/code/r
ails-code.tgz
<http://codefetch.com/cache?url=http://media.pragprog.com/titles/rails/code/
rails-code.tgz&path=rails-code/ar/acts_as_nested_set.rb&lang=ruby&qy=ruby>
2006 Aug 07
4
AWDwR typography question
So, I''ve been listing to stuff folks have been saying about the
Bookman font we use. Most people like the font, but some feel there
aren''t enough words/line, so your eyes move too much.
So, I spent the weekend playing with typography, and I''ve come up
with a compromise. The thing is: it looks good to me, but I don''t
want to mess up the read for others
2006 Aug 02
4
Linking to the paginated items from search results.
Using Ferret for searching, I''ve got results that I need to link to.
Which is fine, except for that they''re displayed on paginated pages
using Rails paginate function - so it''s not like I can''t get it from the
database or anything else. Anyone have any ideas on how to go about
this? It''s not so much a coding problem as a theory problem, and I
2006 Mar 30
3
Model.find(:all) where Model.association has more then 0 items?
Hi everyone,
I have a Department model that has_many people. How do I go about
finding all departments with more than 0 people?
Department.find(:all, :conditions => Department.people.size > 0)
That, of course, doesn''t work, but it was as close as I could come.
Thanks!
Sean
2006 Jan 02
2
Agile Web Development book - version 4.0 released
I don''t know if I missed this on the list, but the Agile Web Development
with Rails book is now at version 4.0, for those of us who bought the
PDF from the Prag Prog site.
Just a few typos and corrections from the looks of it, but can''t hurt to
get the latest.
You can reorder the book for download at:
http://books.pragprog.com/titles/rails/reorder
Cheers,
Tom
2008 Mar 12
2
Developing Facebook Platform Applications with Rails
I was hoping to announce this a month ago, but some legal wrangling
took longer than expected.
Developing Facebook Platform Applications with Rails is now available
in Beta at http://www.pragprog.com/titles/mmfacer
It walks you through creating a Facebook application with Facebooker,
all the way from setup to handling large number of users.
Thank all of you for asking questions on this
2006 Feb 21
1
[ADV] Next beta of Rails Recipes is available
The second beta of Rails Recipes, Chad Fowler''s killer book or
writing real-world Rails, is now available.
It features seven new recipes:
* In Place Editing
* Making Your Own JavaScript Helper
* Many To Many With Attributes On The Relationship
* Dealing With Time Zones
* Living On The Edge
* Making Your Own Rails Plugins (contributed by Rick Olson, aka
technoweenie)
* Polymorphic
2005 Sep 26
1
Fwd: Rapid GUI Development with QtRuby
Just in case some of you missed it, Pragmatic Programmers just published
their first of a series of short, PDF-only books. This one is on qtRuby.
It would be great to have something like this for wxRuby. I don''t think
wxRuby is quite ready to this (yet), but I thought I''d plant the idea.
Curt
---------- Forwarded message ----------
From: Dave Thomas <dave@pragprog.com>
2006 Mar 10
2
Generating RSS 1.0
Hi All,
I bought the ''beta book'' of Rails Recipes from pragprog and there''s a
tutorial in there for producing RSS 2.0, i''d like to generate RSS (RDF)
1.0 though. Can anyone point in the right direction. I''ve had little
luck finding detailed information on the ruby XML class.
Thanks
--
Posted via http://www.ruby-forum.com/.
2005 Nov 09
1
Enterprise Integration with Ruby - Beta book
I saw this mentioned on Dave Thomas''s blog
http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Tech/Ruby/EIR.html
and don''t remember having seen it announced on this mailing list. This
new Beta Book is at
http://pragmaticprogrammer.com/titles/fr_eir/index.html
regards
Justin
2007 Mar 27
1
On "Agile Web Dev (2nde edition)", Question about the Playtime Task D : Add a Dash of AJAX
Hi,
I''m surprised by the solution published at the following place :
http://wiki.pragprog.com/cgi-bin/wiki.cgi/Task_D-A_Dash_of_Ajax
For the 4th point : the solution published make a database request for
remove a Product from a Cart. I think it''s not needed. What do you all
think about that ?
--~--~---------~--~----~------------~-------~--~----~
You received this message
2006 Mar 16
1
[ADV] New Beta of Rails Recipes available
Folks:
The fourth beta of Rails Recipes, Chad Fowler''s book or writing real-
world Rails,
is now available.
It features nine new recipes (and fixes the PDF bookmark problem):
- Secret URLs
- Integration Testing
- Cheap And Easy Theme Support
- Lightning Fast JavaScript Auto Completes
- Use Active Record Outside Of Rails
- Sharing Models Between Applications
- Keeping Track Of Who Did
2008 May 31
2
Getting items to fill a column
Hi
I''ve been following through the example app in the FXRuby book (which
has generally been very helpful!) and I''m now at the extending it
stage.
I''d like to get the images display at the centre of a column and have
a uniform width for all columns. The centering I have fixed, but no
combinations of setting width and height options and LAYOUT_FILLs
seems to work to get
2007 Aug 21
4
[AWDwR] Confused about has_one and has_many
Heya everyone!
I am quite new to Rails and I am reading AWDwR. I am at Task E "Check
Out!". I understand it quite well, but I have a problem with the last
playground exercise: Add a Table which contains the payment types.
All goes well, but I am not sure whether I should use has_many or
has_one(as in the Playground wiki at
http://wiki.pragprog.com/cgi-bin/wiki.cgi/PT-E-3).
I use the
2009 Dec 13
1
[LLVMdev] ANTLR+LLVM example for simple C
Howdy,
I just finished a book called Language Implementation Patterns but I ran out of room at 400 pages before I could squeeze in an LLVM example. I left a link in the book to the ANTLR wiki so I can slap something together:
http://www.antlr.org/wiki/display/ANTLR3/LLVM
The code is good but the description was slapped together I'm afraid (i.e., don't take it as an example of the book
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.
2005 Dec 18
3
undefined local variable in partial
i can''t get rid of the following error:
ActionView::TemplateError (undefined local variable or method `order_line''
for #<#<Class:0xb75b2090>:0xb75b1f28>) on line #13 of
app/views/admin/_order_line.rhtml:
10:
11: <tr valign="top">
12: <td>
13: <div class="olnamebox"><%= h(order_line.name) %></div>
14: