Displaying 20 results from an estimated 20 matches for "foreword".
2006 Jul 03
9
checkboxes
in the mean time i am using a checkbox like this :
<input type="checkbox" name="var[car]" <%= var.car ? ''checked'' : ''''
unless @var == nil %> />
but i am sure there is something better than this in rails like
<%= checkbox_tag ''var'', ''car'', :checked => true %>
but this is not
2006 Jul 07
3
Newbie Model question (HABTM?)
All,
If I have a table that has several discrete fields that all point to
the same associated field, how do I model it.
Specifically,
If I have a project table that has 2 fields: specifying_company, and
responsible_company.
And one table of associated companies, how do I do the :belongs_to /
:has_many stuff
ie. For a given project company A may be writing the spec, but company
B may be paying
2006 Jul 06
2
@oldbid = 0 why?
Okay I''ve been working on a little biding system. In my model I have
class Item < ActiveRecord::Base
has_many :bids
def highest_bid
@bid = 0
self.bids.each do |bid|
if @bid == nil
@bid = bid.max
else
if bid.max > @bid
@oldbid,@bid = @bid,bid.max
end
end
end
if @oldbid == 0
"#{@bid} - #{@oldbid+1} = #{@bid -= @oldbid+1}"
else
dif =
2006 Jul 08
1
reversing display order in for?
I am displaying some data on one of my pages by calling a for loop:
for comment in @comments
and then diplaying it:
<%= link_to comment.send(''comment_subject''), :controller =>''comments'' ,
:action => ''show'', :id => comment, :class => ''comment'' %>
Works great, but it displays things from oldest to
2015 Oct 07
4
Buildbot Noise
On 7 October 2015 at 22:14, Eric Christopher <echristo at gmail.com> wrote:
> As a foreword: I haven't read a lot of the thread here and it's just a
> single developer talking here :)
I recommend you to, then. Most of your arguments are similar to
David's and they don't take into account the difficulty in maintaining
non-x86 buildbots.
What you're both saying is b...
2006 Jul 06
6
Class variables in templates/layouts
I''m having problems with class variables.. I have a class:
class Content::ApplicantsController < ApplicationController
layout "mylayout"
@@tab = "mystring"
[... the rest is standard scaffold-created stuff ...]
and a layout (mylayout.rhtml):
[...]
<title><%= @@tab.capitalize %></title>
[...]
And I keep getting this error:
uninitialized
2006 Jul 09
8
find_all order question
How does one properly get find_all to grab the data from the DB table
ordered by a specific column?
For example:
@anglers = Angler.find_all
This code gets all the angler records and they are sorted in order of
the id field which is of course set as a primary key in the DB (mysql).
I''d really like to pull the data from the DB sorted in the order of
another field, for example
2006 Jul 06
4
has_one, belongs_to - I am just not getting it
Let me preface by saying i''m a total noob at ruby/rails. :-)
For some reason, I am just not grasping the concept of has_one &
belongs_to...
I''m working on a project that includes user authentication, and 3
different types of user profiles.
User profiles are either "fan", "band", or "venue" objects, and user
logins are "user"
2015 Oct 07
2
Buildbot Noise
On 7 October 2015 at 15:39, James Y Knight <jyknight at google.com> wrote:
> But since nobody actually seemed interested in fixing it, I didn't keep making noise about it. I basically just ignore the failure notices from buildbot, because every commit seems to trigger multiple bogus failure notices, no matter what.
That's not true, either.
We (buildbot owners and admins) are
2019 May 04
3
Windows 2012 server as a member?
You can add windows server 2012 to samba 4 domain as a domain member
(without AD DC role) without any issues. I myself have added multiple
windows 2012, 2012r2 and 2016 member servers without any issues. And,
what's important, You actually DON'T want to make them DC, because of
what Rowland just wrote.
Regards,
Kacper.
W dniu 04.05.2019 o 20:19, Rowland Penny via samba pisze:
>
2006 Apr 25
11
How much Ruby?
I bought the pickaxe about 1 1/2 months ago, and I have been reading through
it and learning Ruby in my spare time. I''m about 200 pages into it, and I''m
starting to think I don''t need to know all of the in''s and out''s of Ruby to
get a good hang on Rails.
How much Ruby do I really need to be proficient in Rails? Ruby is a great
language, I love it, but
2005 May 01
1
Samba 3 PDC with ldapsam and login problem
Hi,
<foreword>
I am about to set up Samba 3.0.14a on Linux as PDC wit LDAP backend for
our faculty. However, first tries have only partly been successful.
First I added samba LDAP-Schema attributes to existing account, created
their Samba passwords with smbpasswd and it worked so that normal users
could l...
2019 Jun 12
0
Windows 2012 server as a member?
...5/4/19 11:15 PM, Robert Wooden via samba wrote:
>>
>> > Your statement backs up the information that I am "gleaning" from
>> various
>> > sources that W2012/W2016 Server (Essentials) CAN be joined as a
>> > workstation OS machine.
>>
>> Foreword: I'm no expert on M$ licensing (and hope I'll never need to be).
>>
>>
>>
>> On your first question you just talked about W2012; now you add the word
>> "Essentials" to the picture.
>> AFAIK, this really makes the difference!
>> See, e.g.,...
2007 Aug 29
0
(Asterisk_1.4.0 + rxfax + spandsp_0.0.4) - symbol lookup error
Hello Usersks,
foreword:
i saw a thread on Asterisk-Users list about this problem, but it seems
that there were no solution:
http://www.mail-archive.com/asterisk-users at lists.digium.com/msg167757.html
Therefore, I relaunch this thread.
-------
Here it is:
I have the same behavior.
1) I never got installed spandsp before...
2015 Oct 08
2
[cfe-dev] Buildbot Noise
...> On Wed, Oct 7, 2015 at 2:24 PM Renato Golin <renato.golin at linaro.org
> <mailto:renato.golin at linaro.org>> wrote:
>
> On 7 October 2015 at 22:14, Eric Christopher <echristo at gmail.com
> <mailto:echristo at gmail.com>> wrote:
> > As a foreword: I haven't read a lot of the thread here and it's
> just a
> > single developer talking here :)
>
> I recommend you to, then. Most of your arguments are similar to
> David's and they don't take into account the difficulty in maintaining
> non...
2012 May 22
6
Beginning with BDD: Rspec or Cucumber? What is better documented?
Hey everybody
I''m sorry, I know that this question seems to arise every few moments,
but I
think in my case it''s a bit special (but doesn''t everybody?).
Well, I''m working with RoR on a private level since v1.0, and my
knowledge about both Ruby and Rails are on a basic level (but definitely
does exist), but I''m in no means near being an expert yet.
In
2009 Mar 09
1
How to exclude directories from getting their metadata updated? (Macintosh HFS+ with rsync 3.0.5)
Hello everyone!
FOREWORD:
I respect your time and resources, I hope to not bother people on this
mailinglist!
To my defense: This question is far easier towards humans than to
mailinglist and web search-engines as the search terms in relation to
each other are highly in-causal or paradoxical, and hence lead to poor...
2005 Jun 09
5
How to plot more than 3 sets in Venn Diagrams?
I'm trying to plot Venn diagrams with more than 3 sets (5 actually) in order to describe graphically the genetic variation between populations.
I tried the limma library but realised it can only plot 3 sets.
Is there any solution? Of course I could plot the chart manually but it'll take too long (have other datasets)..... One of my dataset is given below.
THanks for any advice.
j
2015 Oct 07
2
Buildbot Noise
...t; wrote:
>
>
>
> On Wed, Oct 7, 2015 at 2:24 PM Renato Golin <renato.golin at linaro.org <mailto:renato.golin at linaro.org>> wrote:
> On 7 October 2015 at 22:14, Eric Christopher <echristo at gmail.com <mailto:echristo at gmail.com>> wrote:
> > As a foreword: I haven't read a lot of the thread here and it's just a
> > single developer talking here :)
>
> I recommend you to, then. Most of your arguments are similar to
> David's and they don't take into account the difficulty in maintaining
> non-x86 buildbots.
>
&g...
2003 Dec 01
0
No subject
...listinfo/samba>, <mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
I want to announce the release of a new book on Samba. It's called "Samba
Essentials for Windows Administrators."
I am the author and there is a foreword by Andrew Tridgell. The publisher is
Prentice Hall PTR.
The book is primarily for anyone who is familiar with Windows, but new to
Linux/Unix. It is also a good book for anyone new to Samba.
Amazon has it at a 30% discount right now. See:
http://www.amazon.com/exec/obidos/ASIN/0130409421/
The tab...