similar to: undefined method 'find_by_sql'

Displaying 20 results from an estimated 1100 matches similar to: "undefined method 'find_by_sql'"

2010 May 02
8
dev tool
Can anyone suggest a development tool for RoR? How is the plugin for Eclipse? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2011 Feb 22
2
tag helper
How can I add specific content inside a tag when I create it using the tag helper? Is there an "inner_html" option? This doesn''t seem to be working. <%= tag(:map, :id => (@module.css_id), :inner_html =>''innerhtml'' ) %> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to
2007 Aug 13
2
Policy routing question
Hi, I have a testing multihome setup, with the default gateway being one of the links and using policy routing to honor requests for a specific link. Everything works as expected when I request a specific IP to bind to. But if I request a specific interface things fall apart in ways that I can not explain: default gw (WORKS) ---------- rabbit@Thesaurus:~$ ping -c 1 yahoo.com PING yahoo.com
2011 Nov 04
1
apostrophes
My database is in utf8 but apostrophes are showing up as ’ in my templates. How can I fix this? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2006 Oct 29
1
Thesaurus search
Can anyone help me with doing searches using thesaurus. I really want to do searches that are simple that I make up. For example, a search on "TV" will bring back results that include "Television" and vice versa. Any help appreciated. Clare -- Posted via http://www.ruby-forum.com/.
2007 Mar 15
1
Openvpn routing problem
Hi, I posted this question yesterday on the Openvpn mailing list, with no response, figured I will ask here too. I have been using openvpn for quite a while, no major problems encountered. Now I need to allow the server to access the lan of the client, and I can not figure out the routing. This is what I have after the tunnel is brought up: SERVER (A.A.A.A) Arx:~# ip addr ... 3: eth1:
2005 Aug 23
4
Functions with the same name: best practices
Ok, here's another best practices question - let's say I'm writing a package and I want to use a function name that is already claimed by a function in the base R packages. For the sake of argument, let's pretend this function is for profiling the performance of a function (like Rprof for example), and so an obvious name that comes to mind is profile. This, of course, clashes
2001 Dec 13
2
k-means with euclidian distance but no coordinates
Hi, I'm trying to build a thesaurus that will sensible values for rare words. I suspect the best algorithm to use is k-means although I'm not sure about that -- I would have preferred a k dimensional space with a binary cluster in each dimension so a word can belong to 0..k clusters, but I digress... I can measure the strength of correlation between words fairly easily by counting
2009 Dec 07
1
Autocomplete for phrases
Hi all. We are trying to use Xapian to index the titles of around ten million documents (music catalogue) and then do auto-complete style search on this index. After poking around we can't quite get the combination of QueryParser flags and search query that will give back the results we want. The closest we have can take a very long time (because it is searching for, and building a list of,
2012 Mar 25
1
New to Linux (Xubuntu) - Install Oxford Thesaurus + Dict?
Hello all, I am a brand new user of Xubuntu. Please assume I know nothing worthwhile about how to do anything with Wine or Xubuntu - I am a rookie. With the help of various forums - I've been able to do quite a bit so far - but only with their good directions, or I'd be lost. I've read your pages and see that some versions of Oxford's dictionary and thesaurus have run on older
2008 Jan 18
16
Need a good RoR developer
Hi, I''m looking for qualified Ruby on Rails developers to work on a client web portal project in Midtown Manhattan for a large financial research company. Requirement Overview: Ruby / Ruby on Rails developer with strong object oriented programming background. Good understanding of model driven architecture, MVC, RDBS and data modeling. Required Skill Set: - BS. in Computer Science (or
2002 Nov 17
1
SVD for reducing dimensions
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, this is probably simple and I'm just doing something stupid, sorry about that :-) I'm trying to convert words (strings of letters) into a fairly small dimensional space (say 10, but anything between about 5 and 50 would be ok), which I will call a feature vector. The the distance between two words represents the similarity of the
2010 Mar 18
8
hash in controller is nil after submitting form
I''m trying to create a data entry form but getting an error when it sumbmits. I am using an hash to get the names of the fields definied in the controller''s "new" function: def new @thing = thing.new @columns = Hash.new @columns[''thing_general''] = [ ["title","name"],
2008 Nov 25
3
Cannot use "Application" as a model?
I tried creating an application that has an "Application" model. This seems to collide with the "ApplicationController" defined in application.rb. For example... rails appgoboom cd appgoboom script/generate scaffold Application name:string script/console Loading development environment (Rails 2.2.2) >> Application.find(:all) LoadError: Expected
2011 Mar 17
0
Processed: tagging as pending bugs that are closed by packages in NEW
Processing commands for control at bugs.debian.org: > # Thu Mar 17 19:03:59 UTC 2011 > # Tagging as pending bugs that are closed by packages in NEW > # http://ftp-master.debian.org/new.html > # > # Source package in NEW: mythes-it > tags 617565 + pending Bug #617565 [openoffice.org-thesaurus-it] please rename to mythes-it Added tag(s) pending. > # Source package in NEW:
2006 Jan 26
1
Help constructing a find_by_sql command
Hello all. I am trying to do the equivalent of: @componentlogs = Componentlog.find(:all, :conditions => [ "cl_compname like ?", @criteria ], :offset => offset, :limit => items_per_page, :order => "cl_spr DESC" ) in a find_by_sql statement. I cannot use the build in because the adaptor isn''t quite right (OCI8) When I use it I get the following error
2006 Jan 30
1
find_by_sql and memcached
Is a find_by_sql query cached with memcached and cached_model (http://dev.robotcoop.com/Libraries/)? Looks like the answer is no. Is there a reason for this? I have a lot of very complicated querys with a lot of unions, subquerys and joins that would greatly benefit from the cache. Going through the code I can see that the find_by_sql method is changed in cached_model.rb, but it does not call
2007 Jan 20
2
find_by_sql with named parameterized sql
I tried to use named parameters in my SQL query , using find_by_sql Order.find_by_sql ([select * from orders where amount > ? and quantity > ?", [ @amount, @quantity ] works;.. but Order.find_by_sql ([select * from orders where amount > :amount and quantity > :quantity ", [ :amount => @amt, :quantity => @qty ] is not working a I wrong or should I use a plain select
2008 Jun 23
1
Find_by_sql Doesn't Return Attributes?
My find_by_sql is not returning attributes of the calling model class. Thermo.find_by_sql("SELECT COUNT(*) FROM thermo WHERE thermo_loc = ''back'' GROUP BY DAYOFWEEK(time_on) ASC") # ==> [#<Thermo >, #<Thermo >, #<Thermo >, #<Thermo >, #<Thermo >, #<Thermo >, #<Thermo >] The sql is fine and when I checked it in a mysql
2006 Jan 31
2
find_by_sql question
I''m no good at SQL and I have a question that will hopefully be fairly easy to answer. I''m using acts_as_paranoid which instead of deleting a record adds a deleted_at column with the datetime the row was deleted. I want to have a find_by_sql filter out any row where deleted_at is not null. I have (at least the relevant parts): #a couple working filters here. filters <<