[Rails] 1line RVM+Rails install script for Ubuntu

2012-05-04 Thread YogiZoli
but it didn't installed all necessary dependencies and Rails (at least not for us). How can we figure out who's developing this package? Thanks, YogiZoli -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email

[Rails] Re: New service to improve i18n management

2012-04-07 Thread YogiZoli
Excellent idea, just signed up! On Apr 6, 12:31 pm, comopasta Gr li...@ruby-forum.com wrote: Manuel Boy wrote in post #1055240: Hi everyone! we have been working on phrase https://phraseapp.com, a project around the i18n gem. It provides the ability to translate a website using

[Rails] Re: How to disable has_secure_password validation when a condition is true?

2012-04-05 Thread YogiZoli
Hi, I haven't tried it but would go for this: http://guides.rubyonrails.org/active_record_validations_callbacks.html#conditional-validation You probably didn't used right conditions. To figure it out I always use Rails console. Create 2 users, a FB and a nonFB and try them out. On Apr 3, 7:57 

[Rails] Re: new rails project error

2012-04-05 Thread YogiZoli
Try to use RVM on Debian too http://beginrescueend.com/os/debian/ http://blog.beyondthecorner.co.uk/2010/04/06/installing-rvm-on-debian-lenny/ it's gonna solve all your Gem dependency issues. On Apr 4, 3:36 pm, Rogerio Medeiros arge...@gmail.com wrote: http://sachachua.com/blog/p/22184/

[Rails] Re: Rails server start show error

2012-04-05 Thread YogiZoli
Installing Nodejs might be best but Gems mentioned here are also solve this problem: $ gem install execjs therubyracer On Apr 5, 4:40 am, CC Chen li...@ruby-forum.com wrote: CC Chen wrote in post #1055038: Hi all, ruby: 1.9.2 rails: 3.2.3 OS: redhat5 I create a new rails

[Rails] Re: New Rails User stuck on tutorial = Updating Posts/Mass Assignment

2012-04-03 Thread YogiZoli
Hi, yes, I had the same problem yesterday, and I'm also going through a tutorial - maybe the same one? Solved with 2 steps: added attr_accessible as mentioned earlier message. Also I had to change the RSpec tests from before @user = User.new(name:Example, email:exam...@gmail.com).tap do

[Rails] Re: Problem: jruby -S bundle install - tries to build native extension of yajl-ruby

2012-04-03 Thread YogiZoli
://yehudakatz.com/2011/05/30/gem-versioning-and-bundler-doing-it-right/ good luck, @YogiZoli On Apr 3, 1:06 am, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Mon, Apr 2, 2012 at 3:53 PM, Jedrin jrubia...@gmail.com wrote:  Thanks, but I am on windows. I found a FAQ that says RVM doesn't run

[Rails] Re: Error installing Rails on Ubuntu 11.10 (Gem::DependencyError)

2012-04-02 Thread YogiZoli
installs a Ruby version 1.9.2 then creates a Gemset which installs Rails3.2. Just updated it for you! :) Would be great if you'd give a try. Report me back how it worked please, I'd like to publish it. https://github.com/YogiZoli/RVMinstallerForUbuntu Welcome on Rails! YogiZoli On Apr 1, 9:52 am

[Rails] Re: Help with the has_one model implementation

2012-04-01 Thread YogiZoli
need the proper nested routes you mentioned above, also controllers and views in place with well-named methods. So in short way: 2 tables refers to each other (with 2 migrations), 2 model files refers to each other, routes.rb, controllers, views. HTH! YogiZoli PS. Highly recommend you this tutorial

[Rails] Re: Rails in a Cloud IDE?

2012-03-31 Thread YogiZoli
I love Cloud based IDEs and really waiting for one which is especially for Rails with RSpec and hopefully with Cucumber integrated well, as well as RVM. Instant Heroku and Capistrano deployment would be great, also SCSS or LESS integration. Thanks for interest, YogiZoli On Mar 30, 6:26 pm, Simon