Re: [Rails] Thin server giving Stack level too deep error

2012-12-12 Thread sumit srivastava
On 13 December 2012 12:18, Jim Ruther Nill wrote: > > > > On Thu, Dec 13, 2012 at 1:56 PM, sumit srivastava < > sumit.theinvinci...@gmail.com> wrote: > >> On 13 December 2012 11:23, Jim Ruther Nill wrote: >> >>> >>> >>> >>> On Thu, Dec 13, 2012 at 1:48 PM, sumit srivastava < >>> sumit.theinvinci

Re: [Rails] Thin server giving Stack level too deep error

2012-12-12 Thread Jim Ruther Nill
On Thu, Dec 13, 2012 at 1:56 PM, sumit srivastava < sumit.theinvinci...@gmail.com> wrote: > On 13 December 2012 11:23, Jim Ruther Nill wrote: > >> >> >> >> On Thu, Dec 13, 2012 at 1:48 PM, sumit srivastava < >> sumit.theinvinci...@gmail.com> wrote: >> >>> >>> On 13 December 2012 11:17, sumit sriv

Re: [Rails] Thin server giving Stack level too deep error

2012-12-12 Thread sumit srivastava
On 13 December 2012 11:23, Jim Ruther Nill wrote: > > > > On Thu, Dec 13, 2012 at 1:48 PM, sumit srivastava < > sumit.theinvinci...@gmail.com> wrote: > >> >> On 13 December 2012 11:17, sumit srivastava < >> sumit.theinvinci...@gmail.com> wrote: >> >>> >>> On 13 December 2012 11:13, Jim Ruther Nil

Re: [Rails] Thin server giving Stack level too deep error

2012-12-12 Thread Jim Ruther Nill
On Thu, Dec 13, 2012 at 1:48 PM, sumit srivastava < sumit.theinvinci...@gmail.com> wrote: > > On 13 December 2012 11:17, sumit srivastava > wrote: > >> >> On 13 December 2012 11:13, Jim Ruther Nill wrote: >> >>> >>> >>> >>> On Thu, Dec 13, 2012 at 1:31 PM, Sumit Srivastava < >>> sumit.theinvinci

Re: [Rails] Thin server giving Stack level too deep error

2012-12-12 Thread sumit srivastava
On 13 December 2012 11:17, sumit srivastava wrote: > > On 13 December 2012 11:13, Jim Ruther Nill wrote: > >> >> >> >> On Thu, Dec 13, 2012 at 1:31 PM, Sumit Srivastava < >> sumit.theinvinci...@gmail.com> wrote: >> >>> Hi, >>> >>> I am using thin web server in my rails project. But it gives stack

Re: [Rails] Thin server giving Stack level too deep error

2012-12-12 Thread sumit srivastava
On 13 December 2012 11:13, Jim Ruther Nill wrote: > > > > On Thu, Dec 13, 2012 at 1:31 PM, Sumit Srivastava < > sumit.theinvinci...@gmail.com> wrote: > >> Hi, >> >> I am using thin web server in my rails project. But it gives stack level >> too deep error. Couldn't find any appropriate solution t

Re: [Rails] Thin server giving Stack level too deep error

2012-12-12 Thread Jim Ruther Nill
On Thu, Dec 13, 2012 at 1:31 PM, Sumit Srivastava < sumit.theinvinci...@gmail.com> wrote: > Hi, > > I am using thin web server in my rails project. But it gives stack level > too deep error. Couldn't find any appropriate solution to this. > I have tried updating the ruby but didn't help. > can yo

[Rails] Thin server giving Stack level too deep error

2012-12-12 Thread Sumit Srivastava
Hi, I am using thin web server in my rails project. But it gives stack level too deep error. Couldn't find any appropriate solution to this. I have tried updating the ruby but didn't help. Regards, Sumit -- You received this message because you are subscribed to the Google Groups "Ruby on R

Re: [Rails] New Ruby On Rails Group to Connect Midwest Developers

2012-12-12 Thread Aaron Vargas
Sorry boss - new to Google groups. Thanks for the plug! A On Wed, Dec 12, 2012 at 9:55 PM, tamouse mailing lists < tamouse.li...@gmail.com> wrote: > On Wed, Dec 12, 2012 at 10:38 AM, Aaron Vargas > wrote: > > Lol. Calm down it's not like you have to like each other's FB's or > become > > frie

Re: [Rails] Re: make rails connect with database

2012-12-12 Thread Jim Ruther Nill
On Thu, Dec 13, 2012 at 11:22 AM, Mas Bejo wrote: > i try open schema.rb, and i saw this code > > ActiveRecord::Schema.define(:version => 20121201063411) do > > create_table "anggota", :force => true do |t| > t.string "nama" > t.text

Re: [Rails] New Ruby On Rails Group to Connect Midwest Developers

2012-12-12 Thread tamouse mailing lists
On Wed, Dec 12, 2012 at 10:38 AM, Aaron Vargas wrote: > Lol. Calm down it's not like you have to like each other's FB's or become > friends and tickle fight one another. An opaque FB link doesn't tell me or give me any reason to click on it. If you're creating a FB ruby page/community, okay, bu

[Rails] Re: make rails connect with database

2012-12-12 Thread Mas Bejo
i try open schema.rb, and i saw this code ActiveRecord::Schema.define(:version => 20121201063411) do create_table "anggota", :force => true do |t| t.string "nama" t.text "alamat" t.text "no_telp" t.datetime "waktu_daftar"

[Rails] Re: make rails connect with database

2012-12-12 Thread Mas Bejo
i have been setup database.yml, with same name database that i want to use. but then what i should do? Should i to run "rails generate scaffold"? let say my command "rails generate scaffold members name:string email:string" to create schema?? and then run "rake db:migrate"? -- Posted via http:/

Re: [Rails] make rails connect with database

2012-12-12 Thread Jim Ruther Nill
On Thu, Dec 13, 2012 at 10:54 AM, Mas Bejo wrote: > i'm newbie in rails. i have problem with how to connect rails with > database. before i can connect it with command > "rake db:create" to create database. > and "rake db:migrate" to migrate schema to database. > but, i want to connect rails wi

[Rails] make rails connect with database

2012-12-12 Thread Mas Bejo
i'm newbie in rails. i have problem with how to connect rails with database. before i can connect it with command "rake db:create" to create database. and "rake db:migrate" to migrate schema to database. but, i want to connect rails with database that i have before, not create it via rails. can yo

Re: [Rails] Building Assocation with multiple belong_tos

2012-12-12 Thread Jarod Watkins
Ah thanks Colin, that was it! On Wed, Dec 12, 2012 at 10:28 AM, Colin Law wrote: > On 12 December 2012 15:18, Jarod Watkins wrote: > > Hello, > > I have two models that look like the following: > > > > ModelA: > > attr_accessible :date, ... > > has_many :modelb > > That should be modelbs,

Re: [Rails] Nested Form with Add/Remove Attributes Button.

2012-12-12 Thread Jim Ruther Nill
On Thu, Dec 13, 2012 at 6:18 AM, fuzzy wrote: > Hi, > > I finally, w/paid help, got my nested form working such that the add/ > remove attributes button works. > > > Now I am wondering if it is possible to only have the 'remove' > attributes button, only show up after the first row of attributes.

[Rails] Nested Form with Add/Remove Attributes Button.

2012-12-12 Thread fuzzy
Hi, I finally, w/paid help, got my nested form working such that the add/ remove attributes button works. Now I am wondering if it is possible to only have the 'remove' attributes button, only show up after the first row of attributes. For example ... my form starts out with its initial row of

Re: [Rails] Re: Fatal Error during bundle install

2012-12-12 Thread Jordon Bedwell
On Wed, Dec 12, 2012 at 2:23 PM, nitesh narayanlal wrote: > yes I have git installed , what does user path meant ? I'm not a Windows user so you have to Google "Windows user path" -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post

[Rails] Re: Fatal Error during bundle install

2012-12-12 Thread nitesh narayanlal
yes I have git installed , what does user path meant ? -- 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

Re: [Rails] Fatal Error during bundle install

2012-12-12 Thread Jordon Bedwell
On Wed, Dec 12, 2012 at 2:12 PM, nitesh narayanlal wrote: > Unfortunately, a fatal error has occurred. Please see the Bundler > troubleshooting documentation at http://bit.ly/bundler-issues. Thanks! > C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/source.rb:582:in > ` > `': No such

[Rails] Fatal Error during bundle install

2012-12-12 Thread nitesh narayanlal
Hi I was trying to run bundle install from cmd prmpt but getting the following error . ruby 1.9.3p327 (2012-11-10) [i386-mingw32] C:\Users\sony>D: D:\>cd SupportBee-Apps D:\SupportBee-Apps>cd apps D:\SupportBee-Apps\apps>cd dummy D:\SupportBee-Apps\apps\dummy>bundle install Fetching git://git

Re: [Rails] How to get ruby running on a webserver

2012-12-12 Thread Walter Lee Davis
On Dec 12, 2012, at 4:54 AM, Stone Raw wrote: > Hi, I have purchased a VPS that has WHM cpanel. I have logged into the > root of my system using putty and installed ruby 1.9.3 via rvm and rails > 3.2.9. > I have created a website in cpanel that has created a public_html > directory that is live a

Re: [Rails] New Ruby On Rails Group to Connect Midwest Developers

2012-12-12 Thread Aaron Vargas
Lol. Calm down it's not like you have to like each other's FB's or become friends and tickle fight one another. Ruby on Rails for FB is starting to grow and the reason why I chose FB is because people spend more time on FB then anywhere else. Unlike most FB users, if you're like other developers

Re: [Rails] Building Assocation with multiple belong_tos

2012-12-12 Thread Colin Law
On 12 December 2012 15:18, Jarod Watkins wrote: > Hello, > I have two models that look like the following: > > ModelA: > attr_accessible :date, ... > has_many :modelb That should be modelbs, plural. > accepts_nested_attributes_for :modelb > end > > ModelB: > attr_accessible :date, ... >

[Rails] Building Assocation with multiple belong_tos

2012-12-12 Thread Jarod Watkins
Hello, I have two models that look like the following: ModelA: attr_accessible :date, ... has_many :modelb accepts_nested_attributes_for :modelb end ModelB: attr_accessible :date, ... belongs_to :modela, :modelc, :modeld end And then in ModelAs controller: @modela = Modela.new 3.time

[Rails] Controller data in Ajax Modal

2012-12-12 Thread nikhil rn
Hi, I am fetching a set of data from the controller. The data set is in a cookie array. I have to display the set in a modal pop up. I am sending the request through an ajax call. How to display the array from the controller in the view in ajax in a modal box? I am using colorbox as my modal box.

[Rails] Sanitize for style attributes

2012-12-12 Thread isguyra
It's really confusing to decide whether sanitize will help avoid XSS in case when :attributes => %w( style ) on stackoverflow, people say that it is not safe, yet the examples they give such as style="background-image: url(javascript:[code]);" is being filtered out using sanitize and all that

[Rails] Ruby-on-Rails Expected Salaries?

2012-12-12 Thread Louis Goff-Beardsley
Hi Guys, Hope you guys are doing well  My name is Louis and I’m a Pure Ruby-on-Rails recruiter. I work with over 20 Rails teams around the UK and Ireland and have a large number of contract and permanent positions. I even have some remote work for those who are interested in it. Just wanted to

[Rails] Re: New page edit

2012-12-12 Thread Alex Korolev
Do you try this: resources :courses do member do get 'score' end end среда, 12 декабря 2012 г., 14:03:00 UTC+4 пользователь Ruby-Forum.com User написал: > > Alex Korolev wrote in post #1088794: > > Maybe you forgot add resource route? > > > > , 12 2012 ., 13:30:59 UTC+4 Ruby-Fo

[Rails] Re: New page edit

2012-12-12 Thread Lorenz Blackbird
Ok, this is the solution: resources :courses do member do get 'score' end end Thanks Alex. -- 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 t

[Rails] Re: New page edit

2012-12-12 Thread Lorenz Blackbird
Alex Korolev wrote in post #1088794: > Maybe you forgot add resource route? > > , 12 2012 ., 13:30:59 UTC+4 Ruby-Forum.com User > : In routes.rb is present: resources :courses and I add/remove: match 'courses/:id/score' => 'course#score', :as => :score in many version... but don't work :

[Rails] How to get ruby running on a webserver

2012-12-12 Thread Stone Raw
Hi, I have purchased a VPS that has WHM cpanel. I have logged into the root of my system using putty and installed ruby 1.9.3 via rvm and rails 3.2.9. I have created a website in cpanel that has created a public_html directory that is live and working on the web. I then created a simple ruby websit

[Rails] Re: New page edit

2012-12-12 Thread Alex Korolev
Maybe you forgot add resource route? среда, 12 декабря 2012 г., 13:30:59 UTC+4 пользователь Ruby-Forum.com User написал: > > Hi, > > I'm a newbie and I can't resolve a simple problem. I generated a > scaffold "course" and now I try to create a new page to edit my data, > because my goal is pro

[Rails] New page edit

2012-12-12 Thread Lorenz Blackbird
Hi, I'm a newbie and I can't resolve a simple problem. I generated a scaffold "course" and now I try to create a new page to edit my data, because my goal is produce a two different page with two different views. My first step is reproduce the new page like the original edit page, so, in the succ