Re: [Rails] error in runtime controller#view

2012-07-04 Thread Abhishek Sharma
subjects has many pages subject controller code:: class SubjectController ApplicationController def list @subjects = Subject.order(subjects.position ASC) end def show @subject = Subject.find(params[:id]) end def new @subject = Subject.new(:visible = 'false') @subject_count = Subject.count + 1

[Rails] [JOBS] Ruby on Rails devs in France! (remote to be considered)

2012-07-04 Thread SylvaLeadformance
*Are you searching for an exciting technical career where you can work on innovative projects in a fast-growing start-up company? * *Are a you a Ruby on Rails enthusiast and wish to work and grow within a dynamic and professional team of developers?* - Participation in a great

Re: [Rails] Re: slow development compiling with asset pipleine

2012-07-04 Thread Peter Mellett
Yeah it is sluggish. Worst performance is on Windows. On 02/07/12 20:16, S Ahmed wrote: any comments? On Sun, Jul 1, 2012 at 10:30 PM, S Ahmed sahmed1...@gmail.com mailto:sahmed1...@gmail.com wrote: I don't have much experience with the new asset pipleine, but when developing

[Rails] View with Variable Number of Fields

2012-07-04 Thread Clint326
I'm a relative n00b when it comes to Rails. I've gone through Michael Hartl's tutorials (both editions, books and screencasts) and I can build a basic CRUD web app without help. However, for a personal project I'm working on, I'm lost as to how to move forward. Here's the situation ... I have

[Rails] Re: E-Books for RoR 3

2012-07-04 Thread Clint326
Here's a free student manual that I found useful: https://github.com/bryanbibat/rails-3_0-tutorial On Wednesday, June 27, 2012 5:46:46 AM UTC-5, Mandy wrote: Hello All, I want to learn RoR3. So kindly suggest me free and online downloadable E-Books for Rub on Rails 3. Thanks in

[Rails] ActiveRecord method

2012-07-04 Thread Yusuke Enomoto
Hello.I have a question. I am making chat application to practice RoR. I have three models. User, Chat, and Message. The relationship is that User has many chats(it means chat's host) and many message,s Chat has many messages. Now I want to create a lobby page like this.

[Rails] Re: How to become effective and professional in Rails?

2012-07-04 Thread Runy Calmera
Hi Guys, I'm also in the same situation. However I come from the business analysis side. No programming knowledge and I have been doing some Ruby on Rails programming during the last year. My suggestions are as follows: - Get a project of your own where you are really interested in.

[Rails] How to completely reinstall my rails environment on Mac Lion?

2012-07-04 Thread Runy Calmera
Hi, I was learning rails and have completed some projects. On my laptop everything worked for quite some time. However now when I run rails new testapp, for example it doesn't generate even the first testapp. How can I completely reinstall a rails environment on my mac? I ran several step by

[Rails] Re: intership

2012-07-04 Thread Runy Calmera
Jeff what kind of internship are you looking for? You mind working only online and what fee do you want to earn for your internship? Op woensdag 13 juni 2012 00:48:26 UTC-4 schreef Jeff Kyzer het volgende: Hello I am looking for a part time position or maybe an intership using ruby on

Re: [Rails] Re: Creating a new record doesnt update the browser view

2012-07-04 Thread Colin Law
On 4 July 2012 01:35, cyber c. li...@ruby-forum.com wrote: Hi Colin, Please remember to quote the previous post when replying, I have just had to look back at the previous email to find what I suggested last time. This is a mailing list not a forum, though you may be accessing it via a forum

Re: [Rails] error in runtime controller#view

2012-07-04 Thread Michael Pavling
On 4 July 2012 07:14, Abhishek Sharma asharma...@gmail.com wrote: class PageController ApplicationController before_filter :find_subject def new @page = Page.new(:subject_id = @subject.id) @page_count = @subject.pages.size + 1 @subjects = Subject.order('position ASC')

Re: [Rails] error in runtime controller#view

2012-07-04 Thread Colin Law
On 4 July 2012 05:23, rocky asharma...@gmail.com wrote: m getting an error Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id when i'm creating new record,like a topic has many discussions,when i'm creating a new discussions m getting that

[Rails] Re: How to completely reinstall my rails environment on Mac Lion?

2012-07-04 Thread Rocky
$gem uninstall rails -a ... will un-install all versions of rails. $gem install rails ... puts it back again. You can check your rails version before and after by doing: $rails -v On Wednesday, 4 July 2012 01:02:30 UTC+1, Runy Calmera wrote: Hi, I was learning rails and have completed

Re: [Rails] View with Variable Number of Fields

2012-07-04 Thread Colin Law
On 3 July 2012 14:59, Clint326 clint.laskow...@gmail.com wrote: I'm a relative n00b when it comes to Rails. I've gone through Michael Hartl's tutorials (both editions, books and screencasts) and I can build a basic CRUD web app without help. However, for a personal project I'm working on, I'm

Re: [Rails] ActiveRecord method

2012-07-04 Thread Colin Law
On 3 July 2012 15:56, Yusuke Enomoto mosa...@gmail.com wrote: Hello.I have a question. I am making chat application to practice RoR. I have three models. User, Chat, and Message. The relationship is that User has many chats(it means chat's host) and many message,s Chat has many messages.

[Rails] How to use wheneverize gem

2012-07-04 Thread honey ruby
Hi all i'm trying to use wheneverize gem to schedule my mails and to run a specific file in controller.i tried but unable to send mails. i am using rails 2.3.8 and ruby 1.8.7 . ive followed the https://github.com/javan/whenever this link Thanks in advance -- You received this message because

[Rails] Re: How to become effective and professional in Rails?

2012-07-04 Thread Rocky
http://astonj.com/tech/best-way-to-learn-ruby-rails/ Have fun! :) On Sunday, 1 July 2012 15:58:15 UTC+1, @masihjesus wrote: Dear Group, I know that this kind of question may sound not very good to you. But I just wanted to ask you that what is the best way to become perfectly effective

Re: [Rails] Re: How to become effective and professional in Rails?

2012-07-04 Thread Sam Serpoosh
Thanks a lot guys, I really appreciate your responses. Tutorials can say good things about popular gems and some common practices in rails development, etc. And I think one of the things that we should do is trying to not to make the mistakes that already exist in rails projects. In most of the

[Rails] Re: How to become effective and professional in Rails?

2012-07-04 Thread thil
Hi Sam, I also have same question in mind wat you have asked. I have decided to follow below: 1. Join community and solve other problems. 2. Join twitter follow other developer and rails experts 3. Finally I have decided to do some worth-fully project. And you have said that you have

[Rails] Re: How to completely reinstall my rails environment on Mac Lion?

2012-07-04 Thread CavalryJim
I would also recommend using rvm - ruby version manager. It allows you to easily install and switch between versions of ruby and maintain multiple sets of gems...to include rails. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To view

[Rails] Routing error for stylesheets in rails 3.0

2012-07-04 Thread Shalini Sah
Hi, I added a css file in public/stylesheets folder (I use Rails 3.0 so no asset pipeline) and included it in my views by %= stylesheet_link_tag 'ss', :media = :all % But I get a routing error on loading my page in my logs. ActionController::RoutingError (No route matches /stylesheets/ss.css

Re: [Rails] Routing error for stylesheets in rails 3.0

2012-07-04 Thread Colin Law
On 4 July 2012 14:12, Shalini Sah shalinisah6...@gmail.com wrote: Hi, I added a css file in public/stylesheets folder (I use Rails 3.0 so no asset pipeline) and included it in my views by And the name of that file is? Colin %= stylesheet_link_tag 'ss', :media = :all % But I get a

Re: [Rails] Routing error for stylesheets in rails 3.0

2012-07-04 Thread Shalini Sah
ss.css On Wed, Jul 4, 2012 at 6:51 PM, Colin Law clan...@googlemail.com wrote: On 4 July 2012 14:12, Shalini Sah shalinisah6...@gmail.com wrote: Hi, I added a css file in public/stylesheets folder (I use Rails 3.0 so no asset pipeline) and included it in my views by And the name of

[Rails] [jobs] Ruby on Rails developers in Munich and Hamburg

2012-07-04 Thread Parul bhasin
Hello, I’m a recruiter specialized in the area of Ruby on Rails development. For my clients in Munich (2 vacancies) and Hamburg (1 vacancy), both leading companies in their industry, I am looking for enthusiastic Ruby on Rails developers to strengthen their teams. Here is the job description:

Re: [Rails] Re: How to completely reinstall my rails environment on Mac Lion?

2012-07-04 Thread hanish jadala
gem list | cut -d -f1 | xargs sudo gem uninstall -aIx THIS COMMAND WILL UNINSTALL ALL THE GEMS IN UR SYSTEM .AFTER THAT INSTALL AGAIN WHAT YOU NEED. On Wed, Jul 4, 2012 at 6:33 PM, CavalryJim james.davis...@gmail.com wrote: I would also recommend using rvm - ruby version manager. It allows

[Rails] How to set relative root in Rails 3.2.3

2012-07-04 Thread Perry Smith
I need to have my rails root at a relative path. Setting env RAILS_RELATIVE_URL_ROOT does not seem to work. And setting config.action_controller.relative_url_root also does not work. At least, I haven't been able to get either of them to work. Thank you for your help, pedz -- Posted via

Re: [Rails] Re: How to become effective and professional in Rails?

2012-07-04 Thread Sam Serpoosh
Hi thil, That worth-fully project is a great idea and I'm really trying to find something to do and I'll also be happy to participate on a project too! if you wanna start on TDD and BDD in general and you meant languageframework-agnostic, for TDD I suggest you to read this great excerpt of James

[Rails] Re: acts_as_list - can you use it twice for a model, like one using :position and another using :rank?

2012-07-04 Thread nkburdick
Daze, Did you ever work this out? I have the same question. Thanks, Nick On Monday, December 27, 2010 7:50:12 PM UTC-8, daze wrote: Let's say I have this set up: an article belongs to a section If I go to sections/show, I would see a list of articles belonging to that section. I want

[Rails] Re: a hands-on tutoring needed

2012-07-04 Thread sehrguey o.
Hi Walter, there is form_tag in the index view` - br / div %= form_tag disks_path, :method = 'get' do % p %= text_field_tag :search, params[:search] % %= submit_tag Search, :name = nil % /p % end % /div %= link_to 'New Disk', new_disk_path % -- but when I

Re: [Rails] a hands-on tutoring needed

2012-07-04 Thread Walter Lee Davis
Make that :conditions rather than :condition, and you're done. Walter On Jul 4, 2012, at 3:03 PM, sehrguey o. wrote: Hi Walter, there is form_tag in the index view` - br / div %= form_tag disks_path, :method = 'get' do % p %= text_field_tag :search, params[:search] %