[Rails] Re: Re: Re: Capybara with redirect

2013-05-16 Thread Assaf Shomer
tamouse mailing lists wrote in post #1108881: > https://github.com/assafshomer/clear_button/pull/1 > > On Mon, May 13, 2013 at 11:20 PM, tamouse mailing lists Tamouse, thank you. However, your pull nullifies the test. Your test clicks the clear button without first writing anything in the input f

Re: [Rails] Re: French sentences appearing weird in Rails Website

2013-05-16 Thread tamouse mailing lists
On May 16, 2013 8:23 AM, "Matt Jones" wrote: > > > > On Wednesday, 15 May 2013 07:30:14 UTC-4, UA wrote: >> >> I have a Rails app. One of my clients is importing French Text which >> is appearing weirdly. Check below example: >> >> 1. str = "--- \nFrench: \"3. Combien de r\\xC3\\xA9gions y a-t

[Rails] Re: shared primary key (using the primary key as a foreign key for has_one association)

2013-05-16 Thread Alexey Muranov
My experimental application where i use shared primary/foreign key is still in experimental phase. It mostly works, but i had to use workarounds for saving/updating objects associated through shared primary/foreign key (i do not want to look trough the details now). I still think that a natur

Re: [Rails] Re: Re: Re: Ruby on Rails guidence need

2013-05-16 Thread Colin Law
On 16 May 2013 21:35, Love U Ruby wrote: > Colin Law wrote in post #1109259: >> On 16 May 2013 18:50, Love U Ruby wrote: >>> then why I got the error: >> I did say I /think/ you have installed it. Obviously you have not. >> What happens when you install it, as has been suggested numerous times >

[Rails] Re: Re: Re: Ruby on Rails guidence need

2013-05-16 Thread Love U Ruby
Colin Law wrote in post #1109259: > On 16 May 2013 18:50, Love U Ruby wrote: >> then why I got the error: > I did say I /think/ you have installed it. Obviously you have not. > What happens when you install it, as has been suggested numerous times > on the this thread, by > gem install rails > >

Re: [Rails] Re: Re: Ruby on Rails guidence need

2013-05-16 Thread Colin Law
On 16 May 2013 18:50, Love U Ruby wrote: > Colin Law wrote in post #1109117: >> On 15 May 2013 17:55, Love U Ruby wrote: > >> >> I think you have installed it when you installed rvm (--rails). Try >> rails -v >> in a terminal. >> >> Colin > > then why I got the error: I did say I /think/ you ha

[Rails] Re: shared primary key (using the primary key as a foreign key for has_one association)

2013-05-16 Thread Toby Ovod-Everett
I know this is an old thread, but as it seems to have the best advice I've seen on this subject, I'm going to throw my few cents in here. I'm strongly leaning in the direction of a shared primary/foreign key for situations where the parent record is a prerequisite for the child record. Effecti

[Rails] Re: Re: Ruby on Rails guidence need

2013-05-16 Thread Love U Ruby
Colin Law wrote in post #1109117: > On 15 May 2013 17:55, Love U Ruby wrote: > > I think you have installed it when you installed rvm (--rails). Try > rails -v > in a terminal. > > Colin then why I got the error: kirti@kirti-Aspire-5733Z:~$ rails -v The program 'rails' can be found in the foll

Re: [Rails] Re: Re: Re: Ruby on Rails guidence need

2013-05-16 Thread Colin Law
On 16 May 2013 14:03, Love U Ruby wrote: > Hassan Schroeder wrote in post #1109188: >> On Thu, May 16, 2013 at 12:13 AM, Love U Ruby >> wrote: >> > >> >> Whatever you want, or are most familiar with, or is easiest :-) >> >> SQLite3 is the default, MySQL is probably most widely used, and >> some

Re: [Rails] Re: Re: Re: Ruby on Rails guidence need

2013-05-16 Thread Hassan Schroeder
On Thu, May 16, 2013 at 6:03 AM, Love U Ruby wrote: > Shall I need to install using `gem install SQLite3` ? You need to install the database of your choice; that has nothing to do with Rails per se'. Then when you generate your new app, you specify the db and the generated Gemfile will have the

[Rails] Re: French sentences appearing weird in Rails Website

2013-05-16 Thread Matt Jones
On Wednesday, 15 May 2013 07:30:14 UTC-4, UA wrote: > > I have a Rails app. One of my clients is importing French Text which > is appearing weirdly. Check below example: > > 1. str = "--- \nFrench: \"3. Combien de r\\xC3\\xA9gions y a-t-il > au Cameroon?\"\nEnglish: 3. How many regions are

[Rails] Re: Re: Re: Ruby on Rails guidence need

2013-05-16 Thread Love U Ruby
Hassan Schroeder wrote in post #1109188: > On Thu, May 16, 2013 at 12:13 AM, Love U Ruby > wrote: > > > Whatever you want, or are most familiar with, or is easiest :-) > > SQLite3 is the default, MySQL is probably most widely used, and > some people prefer Postgres. For learning purposes, I'd go

[Rails] Re: Rails 4 RC1 polymorphic association not quite working.

2013-05-16 Thread Art Mills
As an update to this, if I remove the @address = @business.create_address(params[:address]) from create and update only one record is created. However, it is being created with an addressable_id of NIL even though I see it inserting with the right addressable_id in the log. I figure

Re: [Rails] Re: Re: Ruby on Rails guidence need

2013-05-16 Thread Hassan Schroeder
On Thu, May 16, 2013 at 12:13 AM, Love U Ruby wrote: > I used RVM to install Ruby. I think I should use also use `RVM` to > install Rails. Is it? No matter, `gem install rails` is how you're going to install it. You should create a gemset for your project first (IMO, one of the best features of

Re: [Rails] Re: Re: Re: Ruby on Rails guidence need

2013-05-16 Thread Dheeraj Kumar
https://github.com/joshfng/railsready -- Dheeraj Kumar On Thursday 16 May 2013 at 2:02 PM, Love U Ruby wrote: > Colin Law wrote in post #1109163: > > On 16 May 2013 08:13, Love U Ruby > (mailto:li...@ruby-forum.com)> wrote: > > > > http://about.me/hassanschroeder > > > > twitter: @hassan > >

Re: [Rails] How to use selenium combined with cucumber on rails

2013-05-16 Thread tamouse mailing lists
On Tue, May 14, 2013 at 1:58 PM, Nike Mike wrote: > How to combine cucumber features with selenium that runs on rails 3.2 This might be a good start to look at: https://github.com/searls/remote-capybara-cucumber-example -- You received this message because you are subscribed to the Google Grou

Re: [Rails] French sentences appearing weird in Rails Website

2013-05-16 Thread tamouse mailing lists
On Wed, May 15, 2013 at 6:30 AM, UA wrote: > I have a Rails app. One of my clients is importing French Text which > is appearing weirdly. Check below example: > > 1. str = "--- \nFrench: \"3. Combien de r\\xC3\\xA9gions y a-t-il > au Cameroon?\"\nEnglish: 3. How many regions are there in Camer

[Rails] Re: Re: Re: Ruby on Rails guidence need

2013-05-16 Thread Love U Ruby
Colin Law wrote in post #1109163: > On 16 May 2013 08:13, Love U Ruby wrote: >>> http://about.me/hassanschroeder >>> twitter: @hassan When I was on windows, I used the tutorial : http://railsinstaller.org/ . Here I did install Ruby,Rails,MSSQL and SublimeText2 editor - a total package for rails

Re: [Rails] Re: Re: Ruby on Rails guidence need

2013-05-16 Thread Colin Law
On 16 May 2013 08:13, Love U Ruby wrote: > Hassan Schroeder wrote in post #1109119: >> On Wed, May 15, 2013 at 9:55 AM, Love U Ruby >> wrote: >> >>> Thanks for the guidance. Could you help me to install Rail also? >> >> Try `gem install rails` >> >> -- >> Hassan Schroeder

Re: [Rails] nested form update issue

2013-05-16 Thread Saravanan P
Hi Guys I think I find the solution. Thanks for the reply. Thats because my old data in nested form table(payment info). Early I empty the Message table and forget to empty PaymentInfo table. In my staging console i enter Message.find(89).payment_info, it bring wrong record instead of 816 paymen

[Rails] Re: Re: Ruby on Rails guidence need

2013-05-16 Thread Love U Ruby
Hassan Schroeder wrote in post #1109119: > On Wed, May 15, 2013 at 9:55 AM, Love U Ruby > wrote: > >> Thanks for the guidance. Could you help me to install Rail also? > > Try `gem install rails` > > -- > Hassan Schroeder hassan.schroe...@gmail.com > http://about.me/hassans