Re: [Rails] Help with install and config

2015-09-04 Thread Norbert Melzer
What exactly does it mean when you say "it just wont"? Errormessage? What happens, what do you expect to happen instead? What are you actually doing? Greg NYC schrieb am Fr., 04.09.2015, 7:23: > Hi there! I am new to ruby on rails but have some starting up issues. I am

Re: [Rails] Method each strange behavior with AR association

2015-09-04 Thread Colin Law
On 4 September 2015 at 15:32, Николай Спелый wrote: > There are no errors given. Instead rails puts result of Chat.find_by(id: > 6).chatusers, not result of "each", that's strange. Now I look again that is not surprising. The method inspect outputs to the server terminal

[Rails] Ruby on Rails experts in India

2015-09-04 Thread Anup Kumar
Can you tell me some experts from India using ruby on rails. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to

[Rails] Method each strange behavior with AR association

2015-09-04 Thread Николай Спелый
Hi. I write <%= Chat.find_by(id: 6).chatusers.each { |chat_user| chat_user.user.inspect } %> (There are three models: Chat, Chatuser, User) Chat.find_by(id: 6).chatusers returns collection of table "chats_users" and this is fine working. But i can not get model user by each element of

Re: [Rails] Method each strange behavior with AR association

2015-09-04 Thread Colin Law
On 4 September 2015 at 14:46, Николай Спелый wrote: > Hi. > I write > <%= Chat.find_by(id: 6).chatusers.each { |chat_user| chat_user.user.inspect > } %> > > (There are three models: Chat, Chatuser, User) > > Chat.find_by(id: 6).chatusers returns collection of table

Re: [Rails] Method each strange behavior with AR association

2015-09-04 Thread Николай Спелый
There are no errors given. Instead rails puts result of Chat.find_by(id: 6).chatusers, not result of "each", that's strange. class Chatuser < ActiveRecord::Base self.table_name = "chats_users" belongs_to :chat belongs_to :user validates :chat_id, presence: true validates :user_id,

[Rails] Errno::ENOENT (No such file or directory - identify -quiet -ping

2015-09-04 Thread Richard Beardwood
Hi Im trying to create a site to upload images and list them stored in AWS. Im getting an error and Im having a hard time trying to fix it. Looks like the error is here: Errno::ENOENT (No such file or directory - identify -quiet -ping C:/Users/Richar

Re: [Rails] Method each strange behavior with AR association

2015-09-04 Thread Николай Спелый
Great ! I already try write this logic but it not works. But when i copy-paste your variant it's work. So difference is in formating code, i write in one line, you write in three lines. That's nice for resolving problem, but why it's works in divided style of ruby and not works in one-line

Re: [Rails] Method each strange behavior with AR association

2015-09-04 Thread Rob Biedenharn
> On 2015-Sep-4, at 15:56 , Николай Спелый wrote: > > Great ! > I already try write this logic but it not works. But when i copy-paste your > variant it's work. > So difference is in formating code, i write in one line, you write in three > lines. > That's nice for

[Rails] unable to resolve setup problem to get sample blog application to run - certificate errors

2015-09-04 Thread Dave Dolson
I'm getting certificate errors on the https:\\rubygems.org web site using 2.1.5 Rails install environment objects: Any ideas? This is Windows 7 VM machine installation. Thanks Dave -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.

[Rails] Cannot boot server. 'uninitialized constant ActionView::Helpers::ActiveModelHelper (NameError)'

2015-09-04 Thread Zaid Ikhlas
I created an app but whenever I run rails server It gives me the following error :in `': uninitialized constant ActionView::Helpers::ActiveModelHelper (NameError) from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers.rb:4:in `' from

Re: [Rails] Head first rails Mebay application

2015-09-04 Thread Colin Law
On 3 September 2015 at 21:56, Priya Mohan wrote: > I am using rails 3 and the steps that I have done > > 1.rails new MeBay > > 2.rails g model ad name:string description:text price:decimal > seller_id:integer email:string imr_url:string > > 3.rake db:migrate > > 4.rails

Re: [Rails] Help with install and config

2015-09-04 Thread Colin Law
On 3 September 2015 at 22:15, Greg NYC wrote: > Hi there! I am new to ruby on rails but have some starting up issues. I am on > a windows 10 updated system (from 7). I use railsinstaller and install for > ruby 2.1 and everything gets installed alright. No problems yet.