Displaying 7 results from an estimated 7 matches for "cvhackel".
Did you mean:
chacked
2006 Mar 09
2
handling events: mouseover, etc.
I''m having a hard time figuring out how to handle mouseover events w/
Ruby on Rails (esp. whether Javascript takes over, or the Controller
should be used).
I''m currently trying to create a simple mouseover info box showing the
definition, and some other information, when certain words are
moused-over.
Say I have an array of Word objects that have 1) word name 2) definition
2006 Apr 06
1
Rendering partials with pagination
I currently have a call to this action, which I''d like to paginate:
def get_words
@catid = params[:category]
@words = Category.find(@catid).words
render :partial => "word_display", :collection => @words
end
As you can see, a word_display partial is rendered for each word.
If I add the pagination call (getting the links object), how can I then
get
2006 Mar 13
0
Controller handling of Non-model fields
I''m a bit confused about how the Controller works for calls that aren''t
intended to be remote (non-Ajax).
Specifically, if I don''t want to interact with a Model.
Does ":action => whatever" always result in a call to the server? Or is
it handled like a javascript function (locally, on the client) in the
cases where no Model interaction is needed?
For
2006 Mar 13
2
Keypress events with no AJAX needed
Is anyone else finding it frustrating to do in Ruby client-side things
that would be simple in Javascript?
It seems like all of the "helpers" involve server (controller)
communication.
For example, having a text field that just echos below what the user
types.
Is this the only way to do it?
<div id=''word_panel''>
<%= text_field_tag
2006 Mar 29
0
Draggable question
This question is more about prototype than RoR (sorry), but can anyone
tell me how to make a Draggable element with an inner scroll bar not
have the scroll bar included in the area that is Draggable?
Thank you much!
--
Posted via http://www.ruby-forum.com/.
2006 Jun 10
4
handling external links to methods in rails apps
I created the website www.brandfetch.com with Rails. I''ve noticed that
Google & some search engines have indexed links into the site that are
only meant to be reached through Ajax (link_to_remote) calls within the
app. (e.g. www.brandfetch.com/rails/web_stats/get_domain_stats)
I know how to handle calls to an unknown method, but how can I handle
these links/calls to implemented
2006 Jun 13
5
strange RJS behavior
I used RJS extensively in my last web app with no problem.
I''m just beginning a new one and having a very odd problem.
The called method, get_names, retrieves some values from the database,
then ends:
render :layout => false
the get_names.rjs file is rendered into Javascript, but then is just
dumped as Javascript (text) into the browser:
e.g:
try {