Displaying 11 results from an estimated 11 matches for "stiglitz".
Did you mean:
stieglitz
2006 Jan 02
3
Re: Getting Index When Using render :partial (Benjamin Stiglitz)
Thanks for the suggestion, Ben. This seems an excellent approach to
the problem, except that I''d been under the impression that one could
only call render once. If you call it multiple times as the
each_with_index loop iterates, are the results just combined
automatically? How does that work?
Thanks!
Sean
-----
Sean McMains
AIM: SeanMcTex
http://www.mcmains.net/ruminations
On
2005 Dec 31
9
RJS Templates not conducting callbacks
I''ve run across a weird problem with RJS that I''m trying to figure out:
I have an application that was running 0.13.1 that I recently upgraded
to Rails 1.0. I wanted to use RJS templates, so I installed the plugin
and updated my prototype javascript file via ''rake update_prototype.''
I attempted to test the templates out via the following code, but the
AJAX
2006 Jan 02
6
Paginate with joins messing with id
Hi all,
Best wishes for the new year! :'')
I''m very new to Ruby and Rails, and I ran into a problem with the
"paginate" function. When I use the following method to get a number
of forum topics based on a category name passed via the URI:
@topic_pages, @topics = paginate :topics,
:joins => "INNER JOIN categories ON
2005 Dec 30
11
Losing my mind with Ajax link_to_remote
I''m playing around with Rails, and I can''t get this to work. I just
can''t seem to wrap my brain around it. I''m having some trouble doing an
Ajax navigation column. Here''s what I have:
view layout:
<div id="navigation">
<%= render(:partial => "navigation", :collection => @categories) %>
</div>
My
2006 Jan 12
3
VCard Upload Import
I''m trying to add Vcard import functionality and I keep getting the
following using the code provided below. I''m using the VPIM library
to decode the vcards and add them to my database table. Can someone
help me out, or point me in a different direction for importing
VCards. Thanks.
Error:
cannot convert StringIO into String
Controller Code:
require
2005 Dec 30
2
mangled database record ids
I''ve been going through the excellent tutorial in Agile Web
Development With Rails, and hit a bit of a snag. After doing the
''pretty listings'' functionality for the Admin controller, attempting
to click ''Show'' next to a product produces an error: ''Couldn''t find
Product with ID=#<Product:0x276180c>''
Further, the URL of
2005 Dec 30
2
help on submit_to_remote
hi,
read the API doc and made search with google but can''t get a precise
explanation on how submit_to_remote work.
can someone help on that?
thanks
2005 Dec 31
2
numeric_spell plugin
I''ve created a plugin that lets you spell out numbers (under one
thousand, in English, for now).
Examples:
>> 23.spell
=> "twenty-three"
>> 23.spell :noun => ''person''
=> "twenty-three people"
>> (23.14).spell_currency
=> "twenty-three dollars and fourteen cents"
>>
2006 Apr 05
2
RJS and remote forms
I''ve run into what I think is a browser bug related to using
remote_forms pushed in an RJS update.
In my controller, I have an action that creates a new model and returns
a form for one of its children:
def create_party
party = Party.create
render :update do |page|
page.insert_html :top, ''party-list'', :partial => ''party_header'',
2005 Dec 29
3
Verification problems
Hello,
Hope this isn''t a newbie question - but I don''t seem to be able to find
relevent information elsewhere.
I am having trouble getting the following to work:
Schema
======
ActiveRecord::Schema.define(:version => 1) do
create_table "authors", :force => true do |t|
t.column "name", :string
end
create_table "books", :force =>
2005 Dec 30
2
Beauty in Page Layout
Hi Railers,
I have a model with many associations (20+). I would like to display the
relative associations using AJAX, allowing the user to display the
association his/her is interesting at a particular time. Is there any
existing applications or sample code that I can look at to accomplish the
task?
Present I have one long page, with master (displaying current record
information) and many