[Rails] Re: Ruby Developer

2016-01-29 Thread Clint Westwood
Hi Sandeep. Gary Ferguson here based in San Diego, CA. I received your email and was interested in if your client would be interested in a Rock Star team to perform on this contract. I have set up a team consisting of 3 Rails developers plus an HTML/CSS/Frontend developer who specialize in reb

[Rails] ruby on rails tutorial

2012-07-19 Thread Clint Bugs
Hello world!!! im a damn new to ruby on rails... what i hate the most is tutorials that i found are not in the latest with the new version on rails... can anyone here who can give me a tip or link where can i download new free tutorials for an absolute beginner... tnx. -- You received this mes

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

2012-07-06 Thread Clint Laskowski
I think you missed the "generate" or "g" command in line 3. Shouldn't it read: 3> rails generate scaffold User name:string Thanks. -- Clint *Clint Laskowski, CISSP, CISM* email: clint.laskow...@gmail.com blog: http://www.tek414.com << new! project: http://

[Rails] Re: Clean way of extracting some info from an Array

2011-11-24 Thread Clint
I am not familiar with act_as_followers, but followeres = user.all_following.map(&:id) is the cleanest I can come up with. On Nov 24, 8:01 am, Hesham wrote: > I'm using the act_as_followers gem and one of the methods returns an > array of all the users that are following a specific user, examp

[Rails] Re: How Override naming conventions for mongodb document

2011-04-09 Thread Clint
Why do you want to rename it in the first place? Name convention is there for a reason - I think you're on a slippery slope there. You can rename your class, obviously. On Apr 7, 1:11 pm, Renuka wrote: > Model for MongoDb looks like follows > > class User >   include MongoMapper::Document >   key

[Rails] Refactor sorting of images

2011-04-07 Thread Clint
Hi guys, I am a bit stuck here, I know the following is damn wrong, but I couldn't figure out a cleaner solution yet. I have a bunch of images, each one has a published date and a 'liked' number. A user can click like from an image once. The index of the images can be sorted after 'liked', and 'p

[Rails] Re: help with rotues

2011-03-22 Thread Clint
I don't think you are on the right path here. First of all, create a has_many and belongs to relationship. That will solve a lot if problems for you. On Mar 20, 7:06 am, Quee WM wrote: > in my cities controller I have > > def for_provinceid >   @cities = City.where("active = true && province_i

[Rails] Re: Calling a controller action from javascript

2011-03-21 Thread Clint
Your view code would be helpful to see. On Mar 21, 5:48 am, vishy wrote: > Hi all, > > I am using the google maps API to perform some geolocation on the > client side. I am able to geocode my users address without any issues. > However after doing this on the front end I would like to goto my >

[Rails] Re: Getting user session object in cucumber

2011-03-21 Thread Clint
In your second scenario the user is not logged in. prepend the steps from scenario 1 into scenario 2. I would recommend a "As a logged in user" etc. On Mar 21, 8:15 am, Mike Disuza wrote: > Hi, > I am learning cucumber. > I have integrated the Devise with my rails 3 application. > My problem is

[Rails] Re: Couldn't find 'rspec' generator

2011-03-02 Thread Clint
Hi there, Are you on rails 2.x.x or 3 ? On Mar 2, 6:42 am, Tushar Gandhi wrote: > Hi, > I am trying to learn the RSpec but unfortunately I found all the > tutorials which are very old. Is anyone have latest tutorial? > I am following some tutorial, I have followed the following steps:- > 1) gem

[Rails] Re: Beginner Help - Iterating and Displaying From Models with Relationship

2011-02-22 Thread Clint
I am not at my computer, so I can't help out with code. Basically you need to dig one layer deeper. The above is an array of Applications. Try to <%=raise Company.find(1).inspect %> to display the returned value/array. From there you can play around till it satisfy your needs. On Feb 22, 4:40 am,

[Rails] Re: Problem while installing passenger for apache

2010-10-19 Thread Clint
Try this Thread here for answers: http://ubuntuforums.org/showthread.php?t=910285 On Oct 19, 7:27 am, Sam Kong wrote: > Hi, > > I am trying to install passenger 3.0 for apache2 on Ubuntu 10.10. > > It says that I need to install libopenssl-ruby. > > But when I did 'sudo apt-get install libopen