Re: [Rails] Re: Rails association not working. "Undefined method" error in trying to access child object from pa

2012-04-08 Thread Colin Law
On 9 April 2012 06:27, Vikram A. wrote: > Hi Colin, > > The error here is not the issue, I have rectified it. My point is having > declared the associations properly with belongs_to, has_many...when in > the console I don't get any association methods. I should be able to > access child object fro

[Rails] Re: Rails association not working. "Undefined method" error in trying to access child object from pa

2012-04-08 Thread Vikram A.
Hi Colin, The error here is not the issue, I have rectified it. My point is having declared the associations properly with belongs_to, has_many...when in the console I don't get any association methods. I should be able to access child object from parent object based on these declarations, but

[Rails] whenever cron is not working with rails-3

2012-04-08 Thread Manish Nautiyal
I'm using Whenever for the first time. My cron is not working on the production server. I m using rails-3.1.2 In my schedule.rb file every :hour do # Many shortcuts available: :hour, :day, :month, :year, :reboot r

[Rails] How I update Multi Tables In A Form

2012-04-08 Thread phoe san
Hello Friend!. I wanna update tables in a forms. I have two table 1. user table ( usertable has id , name, email, address) 2. game table (gametable has id, description, game_date, gametiming , user_id) for edit .. I can display all two table data... Wanna update data params by userID.

[Rails] Re: Rails Payment Gateway Solutions

2012-04-08 Thread Joel Dezenzio
Okay, I can now provide feedback on Stripe. First, there is an easy to follow Railscasts tutorial by Ryan Bates which covers how to implement Stripe. However, this tutorial is meant for recurring based subscriptions and does not cover regular charge objects (single payments). So, you have to

[Rails] Re: Rails Payment Gateway Solutions

2012-04-08 Thread Kevin McCaughey
Does anyone have any feedback on Stripe? Thanks for raising this, very useful. -- 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

Re: [Rails] Ideas on a project or gem to develop

2012-04-08 Thread Luis Miguel Cabezas Granado
Hi, If You develop a helpdesk in Rails, i will help you. Somebody to develop a "Mantis On Rails"? El domingo 8 de abril de 2012, Linus Pettersson escribió: > Thank you for your idea! Will keep that in mind. > > Any other ideas? > > > > Den torsdagen den 5:e april 2012 kl. 20:02:30 UTC+2 skrev A

RESOLVED Re: [Rails] Can't get debugger to work on MacOS X Lion/Rails 3.2/Ruby 1.9.3

2012-04-08 Thread David Paschich
> On Saturday, April 7, 2012 9:57:52 PM UTC-7, @1337807 wrote: >> >> I've been having similar issues. There is apparently a fork of the >> project called simply 'debugger' as the original ruby-debug seems to have >> been abandoned (heresay). >> >> Let me know if you find a solution; debugger di

[Rails] Re: sqlite3-ruby is invalid?

2012-04-08 Thread Jeff Kyzer
Thank up Walter. Think I looked at that line a hundred times. I know it had to work - it work all along. Thanks again Jeff On Apr 6, 1:40 pm, Walter Lee Davis wrote: > On Apr 6, 2012, at 3:37 PM, Jeff Kyzer wrote: > > > > > > > > > > > Hello > > I have been learning ruby on rails 3 from the Mic

Re: [Rails] Re: Re: web to show locate folder

2012-04-08 Thread C.C Chen
Thanks, I try to file search on local folder, but it still can't work. it will show this error No route matches [POST] "/downloadfile/search" but I had add "get 'downloadfile/search' " into routes.rb How to fix the problems? html.erb file <%= form_tag :controller =>'downloadfile', :actio

Re: [Rails] Can't get debugger to work on MacOS X Lion/Rails 3.2/Ruby 1.9.3

2012-04-08 Thread David Paschich
On Saturday, April 7, 2012 9:57:52 PM UTC-7, @1337807 wrote: > > I've been having similar issues. There is apparently a fork of the project > called simply 'debugger' as the original ruby-debug seems to have been > abandoned (heresay). > > Let me know if you find a solution; debugger didn't wor

Re: [Rails] Can't get debugger to work on MacOS X Lion/Rails 3.2/Ruby 1.9.3

2012-04-08 Thread David Paschich
On Sunday, April 8, 2012 1:24:05 AM UTC-7, tom meinlschmidt wrote: > > > try $ RUBYOPT='-r openssl' bundle exec rspec -d > spec/controllers/seasons_controller_spec.rb > > it looks weird but usually works :) > Nope, got the same error... -D -- You received this message because you are subscr

Re: [Rails] WEBrick setup

2012-04-08 Thread Norm Scherer
On 04/08/2012 05:37 AM, CC Chen wrote: Hi all, I want to start my rails server by WEBrick. How to set the WEBrick up for production? (not http://localhost:3000) I want others can link to my web server. If you want webrick to operate on another port for some reason use the -p option script/s

Re: [Rails] custom query to db

2012-04-08 Thread Hassan Schroeder
On Sun, Apr 8, 2012 at 3:34 AM, Aashish Kiran wrote: > There are 2 models 'user' and 'interests' > Association between them is has_and_belongs_to_many > > Now If I want to list common interests between two users. How do I query > db. > I think, we have to write custom plsql statement. ?! user1.

Re: [Rails] WEBrick setup

2012-04-08 Thread Colin Law
On 8 April 2012 13:37, CC Chen wrote: > Hi all, > > > I want to start my rails server by WEBrick. > > How to set the WEBrick up for production? (not http://localhost:3000) > > I want others can link to my web server. Do you mean on the internet or just on your local network? If you mean your loc

Re: [Rails] Upgrading to Rails 3

2012-04-08 Thread Jeffrey L. Taylor
Quoting Gurdipe Dosanjh : > Hi All, > > Thanks to everyone for the great updates on how to upgrade to Rails 3. > > What are the technical and business benefits of upgrading to the latest > versions of Ruby an Ruby on Rails. > > The application we have written is still on Ruby version 1.8.7 and R

[Rails] WEBrick setup

2012-04-08 Thread CC Chen
Hi all, I want to start my rails server by WEBrick. How to set the WEBrick up for production? (not http://localhost:3000) I want others can link to my web server. Thanks, -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Gro

Re: [Rails] Rails association not working. "Undefined method" error in trying to access child object from parent object

2012-04-08 Thread Colin Law
On 6 April 2012 20:25, Vikram Anand wrote: > For some reason (most likely in my view due to naming conventions) rails > association is not working. Trying to access child object from parent object > gives undefined method. > > ... > Sns::Application.routes.draw do >   root :to => "questions#index

Re: [Rails] Ideas on a project or gem to develop

2012-04-08 Thread Linus Pettersson
Thank you for your idea! Will keep that in mind. Any other ideas? Den torsdagen den 5:e april 2012 kl. 20:02:30 UTC+2 skrev Alexandru Emil Lupu: > > Hello! > > > What i do need would be a nice "HelpDesk" gem. I haven't seen one that i > could just install it ... and work ... > > I need it,

[Rails] Re: Agile Web Development 4th ed. - Can't mass assign.error

2012-04-08 Thread Frederick Cheung
On Apr 8, 3:11 am, "Lucas J." wrote: > Thanks, Jeffrey.  I just wanted to ensure that I was on the right track > and that I wasn't setting myself up for more problems later. > > Tom - I tried google first (I always do).  My attributes are already set > to attr_accessible in my models (there are

[Rails] REST Services from PHP

2012-04-08 Thread Luis Miguel Cabezas Granado
Hi, I want to read data from Rails 3.1 app with PHP. I use REST with JSON for this. My problem is that Rails app have "devise" and "cancan" and i don't want access to REST Services because i haven't auth previously. Any example of this? Thanks and sorry for my english. -- You received thi

[Rails] Rails Developer Needed (Telecommute Only)

2012-04-08 Thread joshua
I'm building a Rails-driven social selling Website - more details will be provided after signing a non-disclosure agreement. I'm looking for a Rails developer with experience in Rails 3.1+, jQuery, Solr/Sphinx/other search, MySQL, testing, and other goodies that come with Rails/Ruby development.

[Rails] custom query to db

2012-04-08 Thread Aashish Kiran
Hi all, I have problem regarding querying database in rails database. Senerio: There are 2 models 'user' and 'interests' Association between them is has_and_belongs_to_many Now If I want to list common interests between two users. How do I query db. I think, we have to write custom plsql statemen

Re: Re: [Rails] Upgrading to Rails 3

2012-04-08 Thread Gurdipe Dosanjh
Hi All, Thanks to everyone for the great updates on how to upgrade to Rails 3. What are the technical and business benefits of upgrading to the latest versions of Ruby an Ruby on Rails. The application we have written is still on Ruby version 1.8.7 and Ruby on Rails version 2.3.5 Kind Regards a

Re: Re: [Rails] Upgrading to Rails 3

2012-04-08 Thread Gurdipe Dosanjh
Hi Jodi, Thanks for this great point about testing and plugins that need to be upgraded. Its really helpful Kind Regards Gurdipe On 7 April 2012 15:30, Jodi Showers wrote: > I suggest you get your tests in gear if not already > > get a core group (start with models, then controllers, minimum

Re: [Rails] Can't get debugger to work on MacOS X Lion/Rails 3.2/Ruby 1.9.3

2012-04-08 Thread Tom Meinlschmidt
On Apr 8, 2012, at 2:43 , David Paschich wrote: > I'm trying to get the ruby debugger working and can't seem to get there. > Environment summary: > > Mac OS X Lion > RVM > Ruby 1.9.3p125 > Rails 3.2.3 > Rspec 2.9.0 > > I've put the debugger statement in my controller like so: > > def show

Re: [Rails] Re: Upgrading to Rails 3

2012-04-08 Thread Gurdipe Dosanjh
Hi Colin, Thanks this point, I am also carrying out a exercise to ensure all the testing is checked and up to date. Kind Regards Gurdipe On 7 April 2012 09:25, Colin Law wrote: > On 6 April 2012 20:35, Gurdipe Dosanjh wrote: > > Hi All, > > > > Re: Upgrading to Rails 3 > > > > I am working o