[Rails] Re: dump and import MySQL table w/ accents

2009-05-30 Thread Wisccal Wisccal
Wisccal Wisccal wrote: > Jeffrey L. Taylor wrote: > > As far as I understand, utf8_general_ci is case-insensitive. I meant to say "accent-insensitive"... -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are su

[Rails] Re: dump and import MySQL table w/ accents

2009-05-30 Thread Wisccal Wisccal
Jeffrey L. Taylor wrote: >> The string column is utf8_general_ci collation, ... As far as I understand, utf8_general_ci is case-insensitive. Maybe, you want to give utf8_bin a shot. mysql> create table t(i int, v varchar(10) collate utf8_general_ci, constraint t_pk primary key(i, v)); Query O

[Rails] Re: Question about Rails-formatted query params in URL

2009-05-30 Thread Frederick Cheung
On May 29, 3:04 pm, Brian Hartin wrote: > Hi all, > > I am seeing a behavior for which I can't find documentation.  I am > posting a form to a url with query params formatted in the Rails manner: > > /controller/action?foo[bar]=3  # Of course, the brackets are properly > encoded > > When doing

[Rails] Re: assert method is not visible?

2009-05-30 Thread Colin Law
What response do you expect from get: is_admin? What will a user see if he calls it up from a browser? Colin 2009/5/29 Michal Burak > > Hi, > > test "is_admin method is not visible" do > get :is_admin > assert_??? > end > > is_admin is protected and should stay that way forever. Wh

[Rails] Re: Question about Rails-formatted query params in URL

2009-05-30 Thread Colin Law
What is shown in the log file for the parameters for the request? You should see data Processing YourController#method ... Parameters: . Colin 2009/5/29 Brian Hartin > > Hi all, > > I am seeing a behavior for which I can't find documentation. I am > posting a form to a url with query param

[Rails] Re: ruby 1.9.1, cygwin & rails 2.3.2: undefined method camelize

2009-05-30 Thread John D
simply install ruby-iconv (http://john.vipvip.com/blog/?p=71) On 26 май, 22:21, dmack wrote: > I tried to get this working and ran into a problem: > >  - latest cygwin >  - ruby 1.9.1p129 (same problem with p0).   install in /opt/ruby19 >  - rails 2.3.2 > > 1)  Installed ruby 1.9.1p129 with:  --

[Rails] Re: I need a lot of advice here - let's start from the beginning

2009-05-30 Thread Ricardo Sanchez
For IDE, I would suggesst Aptana's RadRails (http://www.aptana.com/ rails). It is based on Eclipse and designed well to implement/deploy RoR applications (it has a nice feature called AptanaCloud which lets you deploy RoR applications in the cloud in minutes). One thing to remember, building RoR a

<    1   2