Putting them in the model helped, getting a quick schooling in OOP
from someone else helped, too :-)
I changed the methods to class methods, and now it behaves as
expected.
Thanks!
On Apr 10, 2:55 am, Frederick Cheung
wrote:
> On Apr 10, 4:35 am,LukeG wrote:
>
> > The original
another noob question... how do I add methods to a class such that
they can be access from the console and from rake?
Details:
I have a ruby script to fetch tweets from the search api. That works
fine, saves my tweets to the db. I have a separate, basic rails app to
view and manage the tweets an
g the
> partial?
>
> On Apr 7, 12:43 pm, Frederick Cheung
> wrote:
>
> > On Apr 7, 5:21 am,LukeG wrote:
>
> > > I'm a noob. I've trolled the web and groups for help, but I just don't
> > > know enough Rails to apply the solutions to
I'm a noob. I've trolled the web and groups for help, but I just don't
know enough Rails to apply the solutions to my particular problem. I
even got the screencast from Pragmatic Programmers, but still no dice.
I'm having a problem getting my collection_select to initialize with a
previously stor
4 matches
Mail list logo