Okay thanks, going to try that.
Matt.
On Jul 9, 1:32 pm, Colin Law wrote:
> On 9 July 2010 12:40, MattB wrote:
>
>
>
> > HI Colin,
>
> > What might a model not derived from ActiveRecord look like, and what's
> > the advantage of doing that? I'm looking up data from a 3rd party API,
> > but som
On 9 July 2010 12:40, MattB wrote:
>
> HI Colin,
>
> What might a model not derived from ActiveRecord look like, and what's
> the advantage of doing that? I'm looking up data from a 3rd party API,
> but somply have the code in the controller, without a model.
It looks exactly like an ActiveRecord
HI Colin,
What might a model not derived from ActiveRecord look like, and what's
the advantage of doing that? I'm looking up data from a 3rd party API,
but somply have the code in the controller, without a model.
Tnx,
Matt.
On Jul 9, 9:18 am, Colin Law wrote:
> On 8 July 2010 16:30, Colin Law
There's also this: http://rubyforge.org/projects/net-tftp/ which I
originally ignored as it's /old/ but the code looks quite clean.
On Jul 9, 8:25 am, "Adrian Wadey" wrote:
> Thank you Matt and Colin, both a great help.
>
> Adrian
>
> Hi Adrian,
>
> Have a look at this for some (Ruby) code ideas
Thank you Matt and Colin, both a great help.
Adrian
Hi Adrian,
Have a look at this for some (Ruby) code ideas:
http://pseudo-flaw.net/content/tftpgrab/
After that, it depends what your data looks like, and what you need to
do with it.
Matt.
On Jul 8, 11:21 am, "Adrian Wadey" wrote:
> Hi,
>
Hi Adrian,
Have a look at this for some (Ruby) code ideas:
http://pseudo-flaw.net/content/tftpgrab/
After that, it depends what your data looks like, and what you need to
do with it.
Matt.
On Jul 8, 11:21 am, "Adrian Wadey" wrote:
> Hi,
>
> I am looking at using Ruby in an application that,
Hashes in Ruby do not keep the insertion order, you should do it like this:
<%= select_tag :module, options_for_select( [ ['All',''], ['Evidence'
, 1], ['Assets', 2], ['Inventory', 3], ['Water' , 4], ['Laboratory' ,
5], ['State EPA', 6], ['Administrator', 7]]), :style => "width:206px",
:id => :in
7 matches
Mail list logo