Re: [Rails] How to use wheneverize gem

2012-07-04 Thread hanish jadala
guys anyone there who can help me out. On Wed, Jul 4, 2012 at 1:53 PM, honey ruby wrote: > 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:

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` > - > > > <%= form_tag disks_path, :method => 'get' do %> > ><%= text_field_tag :search, params[:search]

[Rails] Re: a hands-on tutoring needed

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

[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

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 language&framework-agnostic, for TDD I suggest you to read this great excerpt of James

[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 http:/

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 wrote: > I would also recommend using rvm - ruby version manager. It allows you to > easily install

[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: Can

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 wrote: > On 4 July 2012 14:12, Shalini Sah 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 > > > > > "<

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

2012-07-04 Thread Colin Law
On 4 July 2012 14:12, Shalini Sah 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 routing error on l

[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/

[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] 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 knowl

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 r

[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 effect

[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

Re: [Rails] ActiveRecord method

2012-07-04 Thread Colin Law
On 3 July 2012 15:56, Yusuke Enomoto 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. > > Now I want

Re: [Rails] View with Variable Number of Fields

2012-07-04 Thread Colin Law
On 3 July 2012 14:59, Clint326 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 lost as to how to move

[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] error in runtime controller#view

2012-07-04 Thread Colin Law
On 4 July 2012 05:23, rocky 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 error..i already a

Re: [Rails] error in runtime controller#view

2012-07-04 Thread Michael Pavling
On 4 July 2012 07:14, Abhishek Sharma 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') > end > >

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. 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 style interface. > >