similar to: how do I render a partial view into a string from inside a view ?

Displaying 20 results from an estimated 4000 matches similar to: "how do I render a partial view into a string from inside a view ?"

2006 Jan 08
8
RaislsEdge - where to get latest javascripts ?
To play with RJS I just made a "rake freeze edge". But this copies only the libs into vendor/rails and any attempt of "rake update_javascripts" fails. But all the he required javascripts are there, at: BASEPATH/vendor/rails/actionpack/lib/action_view/helpers/javascripts/ Except of prototype, they seem to have no version number, so I am asking whether I should take those
2005 Nov 11
2
InPlaceEditor trouble
Hi all this is my first post to this list. Im am trying to use the InPlaceEditor, but I only manage to make it work in very simple case as in teh demo on the wiki. In my case I have a list of records ("books") with different fields and each field has an InPlaceEditor. My problem is how to pass teh id of the record to the update action at the controller, I tried to define the
2005 Nov 20
3
rounded corners in rails apps ?
Hi all I like very much rounded corners and often used thee well known nifty Javascript approach for that, Recently I discovered Rico ( http://openrico.org), which does the same and is much simpler to use (don''t require additional css files) and is based on prototype.js. This is all very nice, but there is currently one problem, the latest Rico library seems to require prototype 1.3.1,
2006 Jan 31
2
Liquid templates and forms
I have started to experiment with Liquid templates and all goes fine as long as I just display my stuff. But I want to get user input (using forms), and I couldn''t figure out so far whether and how liquid facilitates the use of forms, something like the form helper tags in .rhtml. Anybody knows about that ? -- Roberto Saccon - http://rsaccon.com -------------- next part --------------
2006 Jan 24
1
Liquid templates and RJS
Does anybody know whether Liquid templates can be combined with RJS ? -- Roberto Saccon - http://rsaccon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060124/edeafadc/attachment.html
2006 Apr 02
13
autocompletion: hooking ''afterUpdateElement'' in Rails
Hi everyone, I need to trigger a Rails action after the autocompletion is completed (when the user has selected an option). From the scriptaculous doc, I figured out ''afterUpdateElement'' is the place to be but I wonder if/how and where I can hook my javascript code to this event in Rails code (I''d like to keep using the helper, if possible)? I tried passing many
2006 Mar 09
5
Comet support?
Just out of curiosity, is there a plan to support Comet (name coined by the dojo guys) w/ prototype? Comet represents persisting an http connection for low latency data operations. It also represents a nice alternative to polling. Jim _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Mar 15
1
when to use mongrail plugins ?
Hi all I just went throught the docomentation of mogrel and I am wondering wht the plugins are good for. I understood how the work and I am comparing the situation to Lighttpd where mods are available for specific tasks. But in Lighttpd (or apache) those mods are running at native speed. But at mongrel, if the plugins are writte in ruby, couldn''t that code just be a rails plugin ? One
2006 Jan 03
7
switchtower, windows and dispatch.fcgi
I just setup switchtower and I am very happy with it. Just one thing is giving me some headache: My development machine is windows and my deployment host is Unix. Each time I deploy I need to make dispatch.fcgi executable. I wrote my own task for that. But does there exist any smarter way to get this automated ? I think Subversion offers some possiblity to declare a file as executable, but no idea
2005 Dec 23
3
RE: Scriptaculous and Prototype based Rich TextEditor
What I have so far. In my main HTML: <script type="text/javascript" src="/javascripts/tiny_mce/tiny_mce_src.js"></script> <script type="text/javascript"> tinyMCE.init({ mode: "textareas", theme: ''advanced'', theme_advanced_toolbar_location: ''top'' }); ... </script> My Ajax form
2006 Mar 30
3
Export Fixtures Plugin
= Description This plugin is a super lightweight tool used to export data into the test/fixtures directory. So if you want to export all your data from your production server into your development environment, this will simplify the process without having to load up your database manager. [%] rake db:fixtures:export_all RAILS_ENV=development [%] rake db:fixtures:load = INSTALLATION
2006 Feb 03
6
Rich Text Editor
I know I saw something a while back about a simple Rich Text Editor; did that go anywhere? I''d love to see something as simple as the one google uses in gmail. If not, I''ll get started on it :-D. -Jerod _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Mar 08
6
best practices for handling uploaded images and capistrano
Quick question: I am going to use the file_column plugin to manage uploading thumbnails. By default the images are stored in the public/ dir of the rails project. The problem I see is that when capistrano redeploys a new build and symlinks it in none of the images will be in the new public/ dir... Does anyone have a solution for this? Thanks, Zack -------------- next part -------------- An
2006 Mar 25
1
routes mapping, subdomains and page-caching
Each of its own is no problem, but the combination of them is confusing my head ! I want to to map in routes.rb an url for an article which is identified by its permalink. The permalink is unique per subdomain. Has anybody done that and can post an example ? Should I do subdomain filtering in routes.rb so I can get page-cachabled URLs (and URL rewriting in Lighttpd form subdomain-urls to
2006 Feb 04
5
file_column + form_remote_tag
For my weekend project, I''m going to get form_remote_tag and file_column playing happily together. According to my research, no one has done this yet. If you happen to have tried this, and have some workable code, send me an email. I''d rather not duplicate the effort. Thanks! -- Kyle Maxwell Chief Technologist E Factor Media // FN Interactive kyle@efactormedia.com
2006 May 03
6
New Release: One-Click Ruby Installer 1.8.4-17 release candidate 2
We are almost there to a final release. The uninstall issues have been fixed, and a few packages have been upgraded to more recent versions. Many thanks to Ryan Leavengood and Shahank Date who stepped in to help finish off this release! *** Only "show-stopper" problems will be fixed *** We are extreme short of manpower at the moment. So as much as I would like to address each and every
2006 Mar 14
2
slider.js in ruby on rails
Hello, Is anyone using slider.js from script.aculo.us? I don''t understand how to integrate it into a form in rails. I want to do something like adjust (slide) age from 16-100. Thank You, jeff
2006 Feb 06
3
acts_as_threaded plugin
This plugin is related to the acts_as_nested_set functionality but differs in that it allows multiple roots to exist within your database. The other benefit, is that when adding a child, it doesn''t perform a full table update to rebuild the tree, each child insertion only affects the tree that it is placed in. It even comes with my first screencast to show how you can build an old
2006 Feb 09
2
Strategies for updating multiple parts of the page with AJAX
Hi all, I have a layout that''s evolving, but it looks like there will be several divs. I''m trying to keep everything AJAX-y and avoid full page reloads. My problem is, if I have the login box in a div, I''m going to want two other divs to effectively "refresh" themselves to get data from the server now that there is a user logged in. I''m trying to
2006 Apr 21
1
Is AJAX https request possible from http page ?
Hi all Is it possible to do https request via AJAX from a http loaded page ? It''s for minimizing serverload and just send passwords and user-account stuff via https. >From my understanding how AJAX works, it is not possible to mix, because http/https is like cross-domain In case I am not wrong, maybe someone knows a way around the limitiations (my first thought: proxing via