[Rails] [ANN] Rails 4.0.1 has been released!

2013-11-01 Thread Rafael Mendonça França
Hi everyone, I am happy to announce that Rails 4.0.1 has been released. This is a bug fix release and includes more than 460 commits. This release comes up with an important change on how Active Record handles subsequent `order` calls. In Rails 4.0.0 when you do something like this: ```ruby User

[Rails] Using Chef to set the database name, username, and password

2013-11-01 Thread Jason Hsu, Rubyist
One of my Ruby on Rails apps is Bargain Stock Funds (https://github.com/jhsu802701/bsf), and it relies on a Ruby gem called bsf_scrape (https://github.com/jhsu802701/bsf_scrape) to obtain and process data on stock funds and then save the results in a PostgreSQL database. As you well know, the c

[Rails] Re: jScript framework?

2013-11-01 Thread James Davis, PhD
Since Rails 3.1, jQuery is the default javascript library. Prior to that it was Prototype (although jQuery was still an easily configurable option). The addition of any other js libraries or js development frameworks is pretty easy. I wouldn't call using multiple js libraries as counterproduc

[Rails] rails 2D array access in Helper method

2013-11-01 Thread leo nike
Hi, I Want to simply print out 2d array elements. Method is located in Helper module. Calling helper method from jQuery. At the moment I'm not getting output (=> 0..3) I tried to do iterate through array via .each() method, but it would just print en entire array, however i want to access each elem

Re: [Rails] Oops! Google Chrome could not connect to localhost:3000

2013-11-01 Thread Colin Law
On 31 October 2013 18:04, Mayada Alraegi wrote: > I am a begginer in ROR and using this > tutorial:http://ruby.railstutorial.org/chapters/a-demo-app#sec-deploying_the_demo_app > to get a head start I got every thing working fine(installation ) but I > went to chapter 2 for the demo appliaction

[Rails] Oops! Google Chrome could not connect to localhost:3000

2013-11-01 Thread Mayada Alraegi
I am a begginer in ROR and using this tutorial:http://ruby.railstutorial.org/chapters/a-demo-app#sec-deploying_the_demo_app to get a head start I got every thing working fine(installation ) but I went to chapter 2 for the demo appliaction I can't get see the output on my local server for htt

[Rails] Re: Looking for Advice

2013-11-01 Thread zhu xiaodi
Did you read this kind of book before? http://theleanstartup.com 在 2013年10月30日星期三UTC+8上午7时37分57秒,Chris Clemens写道: > > Hey Guys, > > A group of guys and myself have been working on a project/business plan to > develop a Hotel Concierge application for tablets. We have been working on > it for ov

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

2013-11-01 Thread 吴冉波
maybe you miss the code in the book: file: line_item.rb belong_to :product belong_to :cart then, the line_item has the attr product. On Sunday, April 8, 2012 7:14:31 AM UTC+8, Ruby-Forum.com User wrote: > > I am new to Ruby and to Rails (using Ruby 1.9.3 and Rails 3.2.3) so I > picked up the

[Rails] Re: Error installing therubyracer

2013-11-01 Thread Lasse Bunk
Meck Z. wrote in post #1061376: > Try this: > > $ gem uninstall libv8 > $ gem install therubyracer > > It works for me. Worked for me too. -- 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 uns