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

2012-07-05 Thread CavalryJim
Do you have a ss.css file in your public/stylesheets folder? If not, that is the problem. -- 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 https://groups.google.com/d/msg/rubyonrails-talk/-/y8NX

[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] Can't find my join table

2012-06-14 Thread CavalryJim
Close. Try @a = CardUser.new Then @a.card_id = value & @a.user_id = value -- 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 https://groups.google.com/d/msg/rubyonrails-talk/-/t6Dns-JQr9oJ. To pos

[Rails] Re: filter children with acts_as_tree

2012-06-11 Thread CavalryJim
On Jun 11, 3:18 am, ibrahim hassan wrote: > Hello, > It didn't work i want to bring all roots that a children have one type > not only one root. > something like > @categories = Category.roots > but with children condition category_type => '2' > > Can you please help me with this. > > Best regar

[Rails] Re: filter children with acts_as_tree

2012-06-11 Thread CavalryJim
On Jun 11, 3:18 am, ibrahim hassan wrote: > Hello, > It didn't work i want to bring all roots that a children have one type > not only one root. > something like > @categories = Category.roots > but with children condition category_type => '2' > > Can you please help me with this. > > Best regard

[Rails] Re: Make every little piece a model.

2012-04-29 Thread CavalryJim
On Apr 27, 4:09 pm, masta Blasta wrote: > I'm considering making every little piece of editable content on my site > a model with it's own table. > > So if you think of a blog post for example, the title, subject, body, > whateverwould be a separate table. With the proper associations of > c

[Rails] Re: autocomplete

2012-04-04 Thread CavalryJim
On Apr 4, 6:07 am, "M.SH" wrote: > iam using rails 3.0.1 and i want a good plugin or gem for auto-complete > with Ajax and tutorial about it > > thanks > M.SH Try 'rails3-jquery-autocomplete'. I use it for all of my auto- complete fields. Install/usage instructions can be found here: https://

[Rails] Re: Sydney based Rails developer needed

2012-03-03 Thread CavalryJim
On Mar 3, 7:53 am, vishal singh wrote: > Hi > > I have 1 year experience in ruby on rails and i am basically from india.can > i apply for this job > > Regards > vishal Singh09210706387 > > > > On Sat, Mar 3, 2012 at 8:20 PM, CavalryJim wrote: > > Typ

[Rails] Sydney based Rails developer needed

2012-03-03 Thread CavalryJim
Type: Contract Benefits: Flexible hours, Telecommuting Need a Sidney based rails developer to share support and enhancement of an existing application. Requires proven experience with Rails 3.0.*, jQuery, & jQuery UI along with a familiarity with MySQL, Devise, Heroku, & Git. Will coordinate dev

[Rails] Re: Passing instance variable to js.erb

2012-02-18 Thread CavalryJim
On Feb 15, 11:09 pm, Soichi Ishida wrote: > Rails 3.1.3 > > Hi again. > > I would like to pass an instance variable to "HERE!!!" in  'save.js.erb' > > $('#listtrans').html( >   '<%= escape_javascript(render :partial => "videos/script_list", > :locals => { :scripts => Script.find_all_by_video_id(

[Rails] Re: Can't get WEBrick to work

2012-02-05 Thread CavalryJim
On Feb 4, 8:17 pm, "mitijain...@gmail.com" wrote: > Hi, > > can you send the exact output which you are getting after running this > command. > > Mitesh Jain > > On Feb 4, 7:41 pm, Joel wrote: > > > > > Hello, Also, you need to be in a directory containing a Rails application when you submit t

[Rails] Re: User and Game Association help.

2012-01-31 Thread CavalryJim
On Jan 31, 7:16 pm, Christopher Jones wrote: > Hi all, I am currently doing work on my rails project and have hit a > wall. I am quite new to Rails so at the moment only know a little bit > about it. > > I have a users table and a games table. At the moment I am able to enter > in user informati

[Rails] Re: Installing rails on Ubuntu

2012-01-21 Thread CavalryJim
On Jan 21, 3:53 pm, Felipe Pieretti Umpierre wrote: > CavalryJim wrote in post #1041969: > > > Also - in general, it is not a good idea to install gems using sudo. > > CavalryJim, what is the best way to install ? > > -- > Posted viahttp://www.ruby-forum.com/. As Co

[Rails] Re: Installing rails on Ubuntu

2012-01-21 Thread CavalryJim
On Jan 21, 3:39 pm, Felipe Pieretti Umpierre wrote: > Hello, I'm trying to install the rails on ubuntu 11.10, but when I put > the command > > felipe@Felipe:~/Downloads/rubygems-1.8.15$ sudo gem install rails > --no-r1 --no-rdoc > ERROR:  Loading command: install (LoadError) >     no such file t

[Rails] Re: Upgrading from rails 1.8 to rails 3

2011-12-13 Thread CavalryJim
On Dec 12, 11:35 am, Frederick Cheung wrote: > On Dec 12, 3:42 pm, Chloe Koh wrote: > > > Hi guys, I need some help with my ruby on rails application. I want to > > upgrade it from rails 1.8 to rails 3. Can anyone help me? > > There is no rails 1.8 (rails went 1.1.x, 1.2.x and then 2.0 IIRC). >

[Rails] Re: Charts. Client side? Server side?

2011-12-04 Thread CavalryJim
On Dec 4, 2:07 am, Colin Law wrote: > On 3 December 2011 23:14, Leonardo Mateo wrote: > > > Hi everyone, > > > I need to add some charts to a Rails 3.1 application. > > I've used Gruff[1] in the past, and now, researching a bit, I found a > > few options, the one I liked the most is Highcharts[

[Rails] Re: Radio buttons

2011-11-24 Thread CavalryJim
On Nov 24, 6:44 am, "Guru R." wrote: > I am new to ruby on rails.i need to create a page with a question and > multiple choice answers with radio button to answer .i ve stored the > database in a table with one column ha the question and the other four > with answers. i ve to populate the fifth

[Rails] Re: will_paginate and checkboxes

2011-10-20 Thread CavalryJim
On Oct 19, 2:22 pm, mdfdroid wrote: > Ok so I solved my problem by creating two  divs on the page.  A table > on the left that is paginated and has ajax search for assigning > issues.  Then another table on the right that just shows assigned > issues.  I have jquery watch for check box clicks and

[Rails] Integrating a Rails 3 application with Google Health

2011-04-04 Thread CavalryJim
Anybody know of some good tutorials on integrating a Rails 3 application with Google Health? Or at least how to utilize the Gdata gem? I am looking to build a Rails 3 application that authenticates with Google Health along with reading & writing information between Google Health. I have installed