Displaying 6 results from an estimated 6 matches for "moutaux".
Did you mean:
mouta
2006 Jun 14
6
find and LIKE ''xxx%'' clause
Hi there !
I try to figure out how to do something like this in Rails :
SELECT * FROM my_table WHERE name LIKE ''GOGONAM%''
My problem is the % and the quotes.
>From now, I do like this :
searched_name = params[:name]+''%''
user = MyTable.find(:all, :conditions => ["name LIKE ?", searched_name])
But is there a more gracefull way to do a LIKE
2006 Aug 18
2
RoR Wiki not accessible ?
Hi there !
I can''t access some pages on the RoR wiki
( http://wiki.rubyonrails.com/rails/pages/Howtos )
An of course, as Murphy is always here, the Howtos I can''t access are
those I want to read now.
Everybody as got the same problem or do I miss something ?
Tony
--
Posted via http://www.ruby-forum.com/.
2006 Jul 13
0
AR Sybase adapter with FreeTDS
Hi there !
After writing up a little adapter to access my sybase server, using
odbc/dbi/freetds/unixodbc (yes all of these), it''s now time to have a
*real* adapter, not running through to-many-to-count layers.
I plan to use the FreeTDS library rather than Sybase because of the
availability of FreeTDS for windows os.
Is there already a work in progress for this kind of stuff ? Are
2006 Apr 12
1
Dealing with documentation : how to find REAL doc ?
Hi there Rails buddies !
After some weeks working with Rails and having it running on different
platforms, I definitively find the documentation not enough precise. But
those are my thoughts and I hope somebody can point my out to the good
way to find something.
For example, I currently look for information about session managment,
and find the code :
2006 Mar 09
0
Sybase/FreeTDS and RoR
Hi there !
I''m drilling for some framework/apserver solution and come to RoR. After
using InstantRails, I would try to run it on my test platform (Solarix
10 x86 on 1 machine, Sybase ASE on another, FreeTDS for the join).
I could not manage to have the sybase driver for ruby compile with
FreeTDS. So I try to run a ODBC bridge. All seems good (freeTDS runnin,
unixODBC working with
2006 Mar 29
0
cattr_accessor missing for test of AR
Hello.
I''m trying to test an active record adapter. When launching :
ruby -I "connections\native_adaptername" anytest_test.rb
I have an method missing error, complaining about cattr_accessor
(missing from AR:Base).
Any advice ?
Tony
PS : ruby 1.9, rails 1.10 install via gems
--
Posted via http://www.ruby-forum.com/.