On Thursday, June 21, 2012 1:16:05 PM UTC-3, Ruby-Forum.com User wrote:
>
>
> Hi Luis,
> Thanks for the answer. I did run bundle install and bundle update a few
> times after I changed the gemfile without any luck. I wonder why less
> is depending on therubyracer? Any ideas?
I have no ide
On Thu, 21 Jun 2012 16:54:46 -0300
Martin Aceto wrote:
> > I'm new to ruby on rails and I have little problem. I need to make
> > application that creates list of items on startup. So model shouldnt
> > have database.
>
> maybe this could help you
>
> http://railscasts.com/episodes/326-activeat
NoMethodError (undefined method `member_phones' for
#):
app/controllers/home_controller.rb:43:in `member'
Thats the error that I get.
--
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
On 21 June 2012 21:32, cyber c. wrote:
> Hi,
>
> How do we create static pages using rails(shud have only buttons, some
> text and upon clicks the appropriate controller should be called)?
Chapter 3 of railstutorial.org deals with this.
http://ruby.railstutorial.org/chapters/static-pages#top
Col
On 21 June 2012 18:50, renu mehta wrote:
> Hello,
>
> In my app there is a one-to-many relation between members and
> member_phones.
> Following code works in ruby 1.8.7, rails 3.0.3 but fails on heroku.
>
>
> @member = Member.new
> @member_phone=@member.member_phones.build
In what way does it fa
Hi,
How do we create static pages using rails(shud have only buttons, some
text and upon clicks the appropriate controller should be called)?
--
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
On Thu, Jun 21, 2012 at 4:25 PM, Amer Zildzic wrote:
> Hi,
>
> I'm new to ruby on rails and I have little problem. I need to make
> application that creates list of items on startup. So model shouldnt
> have database.
>
> 1. Is the best choice to use standard class as model, for example
> item.rb
Hi,
I'm new to ruby on rails and I have little problem. I need to make
application that creates list of items on startup. So model shouldnt
have database.
1. Is the best choice to use standard class as model, for example
item.rb in models folder?
2. What's the best way to create collection of mo
I've created:
https://github.com/rails/rails/issues/6814
... which seems like the correct place to report this. I'm sure I'll
hear from the rails admin team soon enough if that's not the right
place.
- ff
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
Walter Davis wrote in post #1065560:
> Triple check that the version of Rails in your tutorial matches
> the version installed on your computer.
I got it working. I found a sample gem file at
https://raw.github.com/railstutorial/sample_app_2nd_ed/master/Gemfile
for the tutorial that I am using
Hello,
In my app there is a one-to-many relation between members and
member_phones.
Following code works in ruby 1.8.7, rails 3.0.3 but fails on heroku.
@member = Member.new
@member_phone=@member.member_phones.build
but this works on heroku:
@member = Member.new
@member_phone=MemberPhone.new
I am using Rails 3.1.0, Gem 1.8.24, and Ruby 1.9.3p194. I've edited the
gem file and changed versions of things to try to fix this and other
problems that I have. I think that in order to fix certain problems, I
might end up breaking something else. I tried "gem update --system" and
still had the s
Walter Davis wrote in post #1065560:
> What version of rake, what version of Ruby, what version of Rails? Also,
> what version of Gem? ...
Walter's right. This is just a hunch, but you might try:
gem update --system
and see if that helps.
- ff
--
Posted via http://www.ruby-forum.com/.
--
What version of rake, what version of Ruby, what version of Rails? Also, what
version of Gem? There's lots of reasons why this might not work. Are you using
rvm? If so, make a new gemset and bundle install again there. Triple check that
the version of Rails in your tutorial matches the version i
> Can you post the contents of schema.rb section for the table.
> Also it would be interesting to put in some inspect debug for expected
> and found.
Colin:
Done. See https://gist.github.com/2967023 for code and results.
As for "inspect debug for expected and found", I assume you mean like
this
I tried running bundle update but then I still got the same error on
rake db:migrate.
---Original message---
> --
> How do I get rake to work?
I would try running bundle update to make sure you have all of your gems
properly installed. This sounds like a version mis-match between various
Rails m
On 21 June 2012 17:36, Fearless Fool wrote:
> I have isolated what appears to be a bug in the Rails extensions to
> DateTime, but I don't know where to report it.
>
> I have a standalone file to demonstrate the bug, but the punch line is
> that this code:
>
> TestRecord.create!(:f_datetime => (
I have isolated what appears to be a bug in the Rails extensions to
DateTime, but I don't know where to report it.
I have a standalone file to demonstrate the bug, but the punch line is
that this code:
TestRecord.create!(:f_datetime => (expected = DateTime.jd(200)))
found = TestRecord
On Jun 21, 2012, at 12:32 PM, n/a n/a wrote:
> I've been trying to follow Ruby on Rails 3 Tutorial by Michael Hartl but
> had a problem on page 199 when it asks me to enter "rake db:migrate". I
> got the following results:
> --
> rake aborted!
> undefined method `mass_assignment_sanitizer=' for
>
I've been trying to follow Ruby on Rails 3 Tutorial by Michael Hartl but
had a problem on page 199 when it asks me to enter "rake db:migrate". I
got the following results:
--
rake aborted!
undefined method `mass_assignment_sanitizer=' for
ActiveRecord::Base:Class
Tasks: TOP => db:migrate => enviro
Luis Lavena wrote in post #1065543:
> On Thursday, June 21, 2012 3:30:02 AM UTC-3, Ruby-Forum.com User wrote:
>>
>> Hi Everaldo,
>> I'm also using Windows 7 and I've had the same problem as Felipe, I
>> tried including
>> gem 'therubyracer', :platform => :ruby
>> in my gemfile but I still cannot st
On Thursday, June 21, 2012 3:30:02 AM UTC-3, Ruby-Forum.com User wrote:
>
> Hi Everaldo,
> I'm also using Windows 7 and I've had the same problem as Felipe, I
> tried including
> gem 'therubyracer', :platform => :ruby
> in my gemfile but I still cannot start the "rails server" to start,
> sinc
On Jun 21, 2012, at 3:34 AM, Avantec Van wrote:
> Hi,
> I'm creating an file uploading application. I'm using paperclip to
> upload files.
I just did this, a couple weeks ago.
>
> my upload path is
> "http://localhost:3000/system/uploads/uploaded_files/000/000/064/original/Cell%20phone%20ring
Hi,
I am stuck with the setup of Ruby (1.9.3), Rails and Postgres (9.0.8) on
my Mac (10.6.8). Everytime when I run rails console I get the following
error:
/Users/dc/.rvm/gems/ruby-1.9.3-head@global/gems/pg-0.13.2/lib/pg.rb:4:in
`require':
dlopen(/Users/dc/.rvm/gems/ruby-1.9.3-head@global/gems/pg
On Thu, Jun 21, 2012 at 1:31 PM, Mandy wrote:
>
> On Thursday, June 21, 2012 1:12:17 PM UTC+5:30, subbu g wrote:
>>
>> Heroku is good
>
>
> Can you please explain more about Heroku. I'm not getting it.
>
> --
Heroku offers free hosting space with an easy deployment process
(especially regarding d
Please can any one help where to give the merchant id and key in rails
application while integrating google check out. Please help me with
this.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
T
On Thursday, June 21, 2012 1:12:17 PM UTC+5:30, subbu g wrote:
>
> Heroku is good
>
Can you please explain more about Heroku. I'm not getting it.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To view this discussion on the web visit
Hi All,
I am new in ROR. I want to open form in modalbox of jquery in rails3. So
please send me help if any body have a idea asap.
Thanks.
--
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 po
On 21 June 2012 10:04, Timen E. wrote:
> Ah, got it. Thanks again, Colin! I used <%= at my each :) I'm so dumb xD
We have all done it.
Colin
--
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 rubyonrai
Ah, got it. Thanks again, Colin! I used <%= at my each :) I'm so dumb xD
--
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.
T
On 21 June 2012 09:25, Timen E. wrote:
> Heya,
>
> Whenever i open my post page on localhost it shows the array of the
> posts i'm getting out of my controller at the bottom of my yield.
>
> I can't find any code where i'm stating that i want to see it there.
You may have a <%= where you meant ju
Heya,
Whenever i open my post page on localhost it shows the array of the
posts i'm getting out of my controller at the bottom of my yield.
I can't find any code where i'm stating that i want to see it there.
Any thoughts?
Thanks
--
Posted via http://www.ruby-forum.com/.
--
You received thi
Heroku is good
On 21 June 2012 13:00, Mandeep Kaur wrote:
> I want to host a website using Ruby on Rails 3. Which 3 best hosts
> give me web space to do that ?
> Please suggest me best 3 hosting sites to develop RoR3 Website.
>
> --
> Mandeep Kaur
> http://mandeepsimak.wordpress.com/
>
> --
> Yo
HI All,
Got it working using the below script.
*require 'net/http'
require "uri"
url = "http://#{domain}:#{port}";
uri = URI.parse(url);
data = File.read('fil_path') #File.read("/usr/test.amr")
http = Net::HTTP.new(uri.host, uri.port)
request = Net::HTTP::Post.new(uri.request_uri)
request.body =
Hi,
I'm creating an file uploading application. I'm using paperclip to
upload files.
my upload path is
"http://localhost:3000/system/uploads/uploaded_files/000/000/064/original/Cell%20phone%20ringing.mp4";
when I'm clicking on this I can see the file.
But I want to encode this URL something lik
I want to host a website using Ruby on Rails 3. Which 3 best hosts
give me web space to do that ?
Please suggest me best 3 hosting sites to develop RoR3 Website.
--
Mandeep Kaur
http://mandeepsimak.wordpress.com/
--
You received this message because you are subscribed to the Google Groups "Ruby
36 matches
Mail list logo