search for: dinodorroco

Displaying 11 results from an estimated 11 matches for "dinodorroco".

2009 Aug 24
5
extract keywords from string
hi - i have strings that i need to extract keywords from. the string might have html tags, urls, etc. i need to extract the keywords from the string. i imagine i''m not the first guy to have to tackle this problem. is there a gem i can use or anyone have any ideas how to approach this? thanks, dino
2008 Mar 12
2
RJS replace_html for all divs with a class
Hi- I want to do a bunch of html_replace ''s for a class of divs, not one single div and I want to replace the content with a partial. I can round them up using page.select, but cannot find something that will easily let me do something like: page.select(div.user).each do |d| d.replace_html render partial => y partial end Any ideas? Thanks, Dino
2008 May 14
1
link_to_remote with embedded image_tag
Hi- I want to generate a link with an image embedded between the <a> and </ a> so when the user clicks on the image the ajax call fires. I can''t find any documentation on how to do this with link_to_remote. Is this possible? I''d like to generate something like: <a href = ...> <img src = .../></a> Thanks, Dino
2009 Feb 06
0
gahh! how do you install the query_trace plugin?
Hello- I am trying to install the query_trace plugin here: http://github.com/ntalbott/query_trace/tree/master I can''t figure out how to install it. I''ve tried script/install plugin, I''ve tried svn, I''ve tried downloading the files and placing them in the vendor/plugins directory, nothing seems to work. There''s no install instructions. I appreciate
2010 Feb 08
1
can use use observe_field with a 3rd party server?
Hi- I''m trying to implement an auto-complete using Yahoo''s autocomplete server, which basically suggests search completions: http://ff.search.yahoo.com/gossip?output=fxjson&command={your searchterms}'' if you want to see the results in your browser, use xml instead: http://ff.search.yahoo.com/gossip?output=xml&command={your searchterms}'' So, I can
2008 Jul 02
3
update_all not changing updated_at
Hi everyone- Model.update_all works and changes the records, but it''s not changing the updated_at field. Am I doing something wrong or is this by design? Thanks, Dino --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2008 Feb 27
2
observe_field not generating any script
Hi - I have a view: <% content_for(:page) do %> <h1>New user</h1> <% form_for :user, @user, :url => { :action => "create" } do |form| %> <%= render :partial => ''form'', :locals => { :form => form, :genders => @genders} %> <%= submit_tag "Create" %> <%end%> <%
2008 Jun 19
2
quotes cause SQL havoc
Hi- I cannot seem to find an answer to this. I have a simple question with quotes- I want to allow apostrophes in a string in a model. I then want to allow searching on that field. In ActiveRecord, when I create a search using find, and say :conditions=> "title like ''%#{query}%'' or body like ''%#{query}%''" where query is the search string, I
2008 Jun 10
2
validates_associated doesn't work on update (and i've tried :on => :update)
HI all- I have two models, Story and Tag, and they are habtm. My goal is to show the errors for @story in a form on both new and edit. Everything works fine on new/create, but it fails on edit/update. First the models: class Story < ActiveRecord::Base attr_accessor :tag_string_holder #holds a CSV of tags ... has_and_belongs_to_many :tags, :uniq=> true ... def
2008 Jun 18
4
clear search box the first time it's selected
Hi - I''m trying to implement a search box that has a pre-filled message "enter search text." The first time it''s selected, I''d like it to clear out, but after that, I''d like it to remain. I imagine lots of people have done this, any ideas how to accomplish this? Thanks, Dino --~--~---------~--~----~------------~-------~--~----~ You received this
2008 Mar 18
5
stylesheet link causing routing error
Hi - I think this is a simple 2.0 conversion issue. In my application layout, I have a simple stylesheet link tag: <%= stylesheet_link_tag ''application'' %> In my public/stylesheets directory, I have application.css When my pages are rendered, I get: <h1>Routing Error</h1> 27<p><pre>No route matches "/stylesheets/application.css"