DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

John's picture

Unregistered

Feeds

aliases

  • John

John

9 months ago

in Adding Multiple Attachements to a Model in one View on Pete On Rails
...edit from last post...

...as a result not being able to use the fields_for block?...thereby not being able to use one FORM to work with two models?

9 months ago

in Adding Multiple Attachements to a Model in one View on Pete On Rails
...continued to from last post...

...as a result not being able to use the fields_for block?...thereby not being able to use one field to work with two models?
1 reply
John ...edit from last post...

...as a result not being able to use the fields_for block?...thereby not being able to use one FORM to work with two models?

9 months ago

in Adding Multiple Attachements to a Model in one View on Pete On Rails
Does the fields_for block work in this instance with af.file_field because you used javascript to create multiple upload fields? Without javascript, would you be stuck using file_field_tag to upload multiple files using attachment fu, and as a result not being able to use the fields_for block?

Thank you!,
John
1 reply
John ...continued to from last post...

...as a result not being able to use the fields_for block?...thereby not being able to use one field to work with two models?

1 year ago

in Plugins I've Known and Loved #3: Ultrasphinx on James on Software
Hi, I'm new to Rails and have Ultrasphinx running on windows, but I'm not sure how to play with the @search AR object. For example, I can't display <%= @search.results.username %> in my view for a search that returns one 'user', even though running 'raise @search.results.inspect' in the controller shows that @search.results is just a hash of the user info.

Anyone trying to get Ultrasphinx running on windows might need to look at these fixes (I needed them all):

http://hillemania.wordpress.com/2006/09/21/rail...
https://rubyforge.org/forum/message.php?msg_id=...
http://www.cordinc.com/blog/2008/03/installing-...

1 year ago

in Plugins I've Known and Loved #3: Ultrasphinx on James on Software
Hi, I'm new to Rails and have Ultrasphinx running on windows, but I'm not sure how to play with the @search AR object. For example, I can't display <%= @search.results.username %> in my view for a search that returns one 'user', even though running 'raise @search.results.inspect' in the controller shows that @search.results is just a hash of the user info.

Anyone trying to get Ultrasphinx running on windows might need to look at these fixes (I needed them all):

http://hillemania.wordpress.com/2006/09/21/rail...
https://rubyforge.org/forum/message.php?msg_id=...
http://www.cordinc.com/blog/2008/03/installing-...
Returning? Login