Re: [Rails] Re: Rails 2 to Rails 3 mysql migration?

2012-09-14 Thread Colin Law
On 13 September 2012 22:20, Jeff Pritchard li...@ruby-forum.com wrote: Colin Law wrote in post #1075905: On 13 September 2012 21:41, Jeff Pritchard li...@ruby-forum.com wrote: db over from the old server, or if there will be a need for some sort of a migration? Any info on what I'm up

Re: [Rails] Re: Re: Re: Comments are not being nested

2012-09-14 Thread Colin Law
On 13 September 2012 22:48, Kyle A. li...@ruby-forum.com wrote: Colin Law wrote in post #1075908: On 13 September 2012 21:51, Kyle A. li...@ruby-forum.com wrote: I am lost. Yes. I am 100% sure I understand the full usage of the gem and have tripple checked documentation, stack over flow and

Re: [Rails] Re: Re: How to connect to a mysql database through a rails application.

2012-09-14 Thread Colin Law
On 14 September 2012 05:51, abhijit m. li...@ruby-forum.com wrote: keerthi priya wrote in post #1075820: when you are trying to create a app just add these line -d mysql you will get the yml according to mysql and change the username and password according to your mysql password. Thanks

[Rails] Passing Session id to rest client

2012-09-14 Thread Avi
Hello, How can I pass session id through my rails application to a rest client through HTTParty or RestClient? Thanks -- 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

Re: [Rails] Re: Different DataBases Used in ROR

2012-09-14 Thread keerthi priya
@pasha what does this lines mean you'll have no chance to even look at the code. On Thu, Sep 13, 2012 at 2:35 PM, Pasha Muravyev pasha...@gmail.com wrote: I'd suggest postgresql, for the sole reason that postgresql supports transactional migrations, which saves so many headaches and possibly

[Rails] [JOBS] Ruby on Rails Hackers @LivingSocial - all levels - all locations and REMOTE

2012-09-14 Thread kenpersel
Work with some of the world’s most famous Rubyists and technologists to revolutionize eCommerce. LivingSocial is the new local marketplace to share unique experiences and products all over the world. We are helping local small businesses to grow exponentially, reaching and acquiring new

[Rails] belongs_to aliases

2012-09-14 Thread Panayotis Matsinopoulos
Hi, Since belongs_to does not actually reflect (as an English wording) the real association that one object might have to another, I was thinking about aliasing it using the following code: class ActiveRecord::Base class self alias :refers_to :belongs_to alias :is_of :belongs_to

[Rails] (JOB) Looking for RoR Engineer

2012-09-14 Thread AP
Our client is looking extremely bright individuals, who can help take this start-up to the next level. Send me your resumes. Requirements: - B.S. in Computer Science with 4+ years or M.S. in Computer Science with 2+ years of industry experience - Experience building large-scale

[Rails] Re-Program your FUTURE...

2012-09-14 Thread DaVinci Jill
DaVinci Coders Ruby on Rails and Java/HTML5 Coding classes starting Monday SEPT/24/2012 11 weeks - Full Immersion - Beginner-Based Training Find Out MORE at http://www.DavinciCoders.com Louisville, CO This class is Right On Time - for the massive shortage of software programmers in the job

[Rails] Re: belongs_to aliases

2012-09-14 Thread Frederick Cheung
On Friday, September 14, 2012 8:24:53 AM UTC+1, Panayotis Matsinopoulos wrote: Hi, Since belongs_to does not actually reflect (as an English wording) the real association that one object might have to another, I was thinking about aliasing it using the following code: class

[Rails] Re: [JOBS] Ruby on Rails Hackers @LivingSocial - all levels - all locations and REMOTE

2012-09-14 Thread Wasif Hyder
Hi, I am very interested in applying as a junior developer. Kindly provide further details on how to apply as a remote candidate. I searched the jop openings, however, they were location specific. I thank you for your time and patience in reviewing my request. Best Regards, Wasif Hyder On

Re: [Rails] Re: Different DataBases Used in ROR

2012-09-14 Thread Peter Hickman
Oracle is closed source, if something goes wrong you cannot look at the source and fix it yourself or submit a detailed bug request. Not everyone does this but it is an important point for some people. It also costs a lot of money. Starting with the low end processor license Standard Edition One

Re: [Rails] (JOB) Looking for RoR Engineer

2012-09-14 Thread Peter Hickman
And this is why people complain about job ad on this list! No location (I will not relocate to Greece for this job) No salary (Without the location I have no idea as to the cost of living and cannot judge the value of the package) No company details (I have no interest in working for another me

[Rails] Troubles with bcrypt-ruby

2012-09-14 Thread Damjan Rems
I am trying to set password with bcrypt-ruby and mongoid but whatever I do I get Password digest can't be blank. # Model class User include Mongoid::Document include Mongoid::Timestamps include ActiveModel::SecurePassword field :first_name, type: String, default: '' field :last_name,

Re: [Rails] Troubles with bcrypt-ruby

2012-09-14 Thread Walter Lee Davis
On Sep 14, 2012, at 7:31 AM, Damjan Rems wrote: I am trying to set password with bcrypt-ruby and mongoid but whatever I do I get Password digest can't be blank. # Model class User include Mongoid::Document include Mongoid::Timestamps include ActiveModel::SecurePassword field

Re: [Rails] Passing Session id to rest client

2012-09-14 Thread Jordon Bedwell
On Fri, Sep 14, 2012 at 4:12 AM, Avi aavinash.beh...@gmail.com wrote: Hello, How can I pass session id through my rails application to a rest client through HTTParty or RestClient? I would consider this a security problem, and a major one at that but whatever who am I judge your bad security.

Re: [Rails] Passing Session id to rest client

2012-09-14 Thread Avi
So, here is what I am trying to do :- login_response = RestClient.post 'Some URL', :userName = 'username', :password = 'password' // Here I am logging in to the site. puts login_response // Here I am getting the response as an xml format which is a session_id So for accessing the content

[Rails] Devise sign up with paypal

2012-09-14 Thread angel david
Hi All, I have a application where user can sign up in two ways- free trail for 10 days and after 10 days they will have to pay to use the app. While sign-up these two options will be present. I did sign up using devise. I need to integrate paypal both while sign up as well as after the trail

[Rails] Re: Troubles with bcrypt-ruby

2012-09-14 Thread Damjan Rems
This may be related: http://reservedwords.herokuapp.com/words/records?q[word_or_notes_cont]=record Walter Nope. I checked by TheR -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to

Re: [Rails] Troubles with bcrypt-ruby

2012-09-14 Thread Colin Law
On 14 September 2012 12:31, Damjan Rems li...@ruby-forum.com wrote: I am trying to set password with bcrypt-ruby and mongoid but whatever I do I get Password digest can't be blank. # Model class User include Mongoid::Document include Mongoid::Timestamps include

[Rails] Routing error.

2012-09-14 Thread Mukesh yadav
Hi all, In my Rails app there is a code in which I have passed the two object to the nested url like this u_w_path(u, v) Now the thing is, It is working fine before but suddenly I am getting a routing error because of the object u cannot be converted to id(automatically). It says No route

[Rails] Re: Re: Rails 2 to Rails 3 mysql migration?

2012-09-14 Thread Jeff Pritchard
Colin Law wrote in post #1075952: On 13 September 2012 22:20, Jeff Pritchard li...@ruby-forum.com wrote: Colin Thanks Colin! This is sort of: binary data -- long list of SQL statements long list of SQL statements -- binary data using new version of mySQL yes? yes Is this primarily

Re: [Rails] Routing error.

2012-09-14 Thread Colin Law
On 14 September 2012 15:00, Mukesh yadav ashu.33...@gmail.com wrote: Hi all, In my Rails app there is a code in which I have passed the two object to the nested url like this u_w_path(u, v) Now the thing is, It is working fine before but suddenly I am getting a routing error because of

Re: [Rails] Re: Re: Rails 2 to Rails 3 mysql migration?

2012-09-14 Thread Colin Law
On 14 September 2012 15:17, Jeff Pritchard li...@ruby-forum.com wrote: Colin Law wrote in post #1075952: On 13 September 2012 22:20, Jeff Pritchard li...@ruby-forum.com wrote: Colin Thanks Colin! This is sort of: binary data -- long list of SQL statements long list of SQL statements --

Re: [Rails] Routing error.

2012-09-14 Thread Mukesh yadav
Hi Colin, I did it(roll back to last working commit) but the problem still persisted. No clue why it is behaving like this. Regards, Mukesh On Fri, Sep 14, 2012 at 8:23 PM, Colin Law clan...@googlemail.com wrote: On 14 September 2012 15:00, Mukesh yadav ashu.33...@gmail.com wrote: Hi all,

Re: [Rails] Routing error.

2012-09-14 Thread Colin Law
On 14 September 2012 16:07, Mukesh yadav ashu.33...@gmail.com wrote: Hi Colin, Please don't top post it makes it more difficult to follow the thread, and makes it easy to forget to answer questions - see below. I did it(roll back to last working commit) but the problem still persisted. No

Re: [Rails] Routing error.

2012-09-14 Thread Mukesh yadav
On Fri, Sep 14, 2012 at 8:55 PM, Colin Law clan...@googlemail.com wrote: On 14 September 2012 16:07, Mukesh yadav ashu.33...@gmail.com wrote: Hi Colin, Please don't top post it makes it more difficult to follow the thread, and makes it easy to forget to answer questions - see below.

[Rails] Re: Troubles with bcrypt-ruby

2012-09-14 Thread Damjan Rems
Colin Law wrote in post #1076008: Have you remembered to add the password_digest field to the table? Colin Have you even tried to look at the code supplied ;-( Code represents a simplified model that I run test on and it also does not work. I don't think that adding few pages of code would

Re: [Rails] (JOB) Looking for RoR Engineer

2012-09-14 Thread Dave Aronson
On Fri, Sep 14, 2012 at 6:21 AM, Peter Hickman peterhickman...@googlemail.com wrote: And this is why people complain about job ad on this list! No location (I will not relocate to Greece for this job) That's the big one for me. If they can't even put such extremely important basic

Re: [Rails] (JOB) Looking for RoR Engineer

2012-09-14 Thread Jordon Bedwell
On Fri, Sep 14, 2012 at 12:43 PM, Dave Aronson googlegroups2d...@davearonson.com wrote: On Fri, Sep 14, 2012 at 6:21 AM, Peter Hickman peterhickman...@googlemail.com wrote: And this is why people complain about job ad on this list! No location (I will not relocate to Greece for this job)

Re: [Rails] (JOB) Looking for RoR Engineer

2012-09-14 Thread Hassan Schroeder
On Fri, Sep 14, 2012 at 10:54 AM, Jordon Bedwell envyge...@gmail.com wrote: Jump down off the horse, join the real world. In the real world, *smart* recruiters include the essential information up front so they don't have to individually respond to every potential candidate asking the exact

[Rails] ruby server chrashes

2012-09-14 Thread roelof
Hello, When I do rails server it chrashed with this ouput : http://pastebin.com/DJ21qC5h Anyone a idea what is the cause of this problem and how to solve this ? Roelof -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this

Re: [Rails] (JOB) Looking for RoR Engineer

2012-09-14 Thread Peter Hickman
To be honest I always assume that the location is the US and given that an ocean lies between us stop reading them. Of course given the size of the US I would probably want to know at least the state they are in if I was American. A city would be preferable :) What gets to me is the lack of

Re: [Rails] ruby server chrashes

2012-09-14 Thread Tom Meinlschmidt
try to reinstall your json gem tom On Sep 14, 2012, at 21:23 , roelof rwob...@hotmail.com wrote: Hello, When I do rails server it chrashed with this ouput : http://pastebin.com/DJ21qC5h Anyone a idea what is the cause of this problem and how to solve this ? Roelof -- You

Re: [Rails] ruby server chrashes

2012-09-14 Thread roelof
Maybe a stupid question. How do I reinstall that gem on ruby 1.9.3 ? Can I do gem uninstall json and then gem install json. And do I have to do bundle install ? I have used rvm to install ruby 1.9,3. Roelof Op vrijdag 14 september 2012 21:50:40UTC+2 schreef tom meinlschmidt het volgende:

Re: [Rails] (JOB) Looking for RoR Engineer

2012-09-14 Thread Dave Aronson
On Fri, Sep 14, 2012 at 1:54 PM, Jordon Bedwell envyge...@gmail.com wrote: Most companies will state such a thing during the interview so why get your knickers knotted? Do you have infinite time for interviews? I'd much rather know ASAP that it's not going to pan out. It's just another form

Re: [Rails] ruby server chrashes

2012-09-14 Thread Colin Law
On 14 September 2012 20:23, roelof rwob...@hotmail.com wrote: Hello, When I do rails server it chrashed with this ouput : http://pastebin.com/DJ21qC5h Anyone a idea what is the cause of this problem and how to solve this ? See http://bugs.ruby-lang.org/issues/5916 I think the problem is

Re: [Rails] (JOB) Looking for RoR Engineer

2012-09-14 Thread Dave Aronson
On Fri, Sep 14, 2012 at 3:34 PM, Peter Hickman peterhickman...@googlemail.com wrote: To be honest I always assume that the location is the US As far as the ones I've seen on LinkedIn go, you're usually right, but in a significant number of cases it turns out to be somewhere in India. Of

[Rails] Re: Passing Session id to rest client

2012-09-14 Thread Robert Walker
Avi wrote in post #1075999: So, here is what I am trying to do :- login_response = RestClient.post 'Some URL', :userName = 'username', :password = 'password' // Here I am logging in to the site. puts login_response // Here I am getting the response as an xml format which is a session_id

[Rails] Re: Troubles with bcrypt-ruby

2012-09-14 Thread Thomas B.
Everything looks fine with your model/controller. The problem is probably coming from your view. Could you please include the full snippet form in the view please? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on

[Rails] Re: Devise sign up with paypal

2012-09-14 Thread Thomas B.
https://github.com/dwilkie/devise_paypal -- Posted via http://www.ruby-forum.com/. -- 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@googlegroups.com. To unsubscribe from this group,

[Rails] Re: Devise sign up with paypal

2012-09-14 Thread angel david
Thomas B. wrote in post #1076092: https://github.com/dwilkie/devise_paypal Hi Thomas, It is for users to authenticate whether they have paypal account or not. But I want user to sign up to my application by paying some amount through paypal.. Paid site is what iam doing.. Please let me know