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
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
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
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
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
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,
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
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
> 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
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.
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
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
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.
13 matches
Mail list logo