Displaying 20 results from an estimated 278 matches for "fiction".
2005 Oct 12
2
Help with act_as_nested_set
...ory < ActiveRecord::Base
acts_as_nested_set
end
Category.delete_all
def add_child(parent, name)
child = Category.create(:name => name)
parent.add_child(child) || fail("Couldn''t add #{name}")
child
end
root = Category.create(:name => "Books")
fiction = add_child(root, "Fiction")
non_fiction = add_child(root, "Non Fiction")
add_child(non_fiction, "Science")
add_child(non_fiction, "History")
computers = add_child(non_fiction, "Computers")
add_child(c...
2006 Jul 20
3
acts_as_tree
...n this in a clear way. After a lot of work I was finally able to
create categories and subcategories using the following code explained in
(Agile Web Development With Rails) book:
----------------------------------------------------------------
root = Category.create(:name => "Books")
fiction = root.children.create(:name => "Fiction")
non_fiction = root.children.create(:name => "Non Fiction")
non_fiction.children.create(:name => "Computers")
non_fiction.children.create(:name => "Science")
non_fiction.children.create(:name => "A...
2006 Jul 10
11
Category Number Results returned
I am looking to have a number of categories populated from my results of
a search. For example, searching on "sport" would display all results
for sport. I want to also have a number of categories to refine the
documents down. So by clicking on the "Fishing" category or the
"Shooting" category, I would only see the results on sport around that
category.
Now for
2006 Feb 18
0
indexed date_select
Hi All,
I am wondering if it is possible to have date_select fields that are
indexed for updating of multiple rows.
Here is my code:
<% @book.awards.each do |@award| %>
<tr>
<td><%= select("award[]", "category", [ "Fiction", "Non-Fiction",
"Poetry", "First-Boak", "Translation" ],
{ :include_blank => false }) %></td>
<td><%= date_select("award[]", "year", :start_year =>
2007, :end_year => 1980,
:discard_month => true...
2013 Mar 21
0
Problems parsing page encoded in Shift-JIS
...an class="zg_hrsr_ladder">? <a href="http://www.amazon.co.jp/gp/bestsellers/english-books/ref=pd_zg_hrsr_fb_3_1">??</a> > <a href="http://www.amazon.co.jp/gp/bestsellers/english-books/93834011/ref=pd_zg_hrsr_fb_3_2">Literature & Fiction</a> > <a href="http://www.amazon.co.jp/gp/bestsellers/english-books/95083011/ref=pd_zg_hrsr_fb_3_3">Genre Fiction</a> > <b><a href="http://www.amazon.co.jp/gp/bestsellers/english-books/95796011/ref=pd_zg_hrsr_fb_3_4_last">Historical<...
2011 Jul 23
0
utgd zendyne by han li thorn [science fiction / th
Appreciate the info, it’s good to know.
2005 Nov 24
1
Autocompleting combobox: fact or fiction?
Hey,
I''ve got a script.aculo.us autocompleting textfield that works
wonderfully, but how do I make the value of the selected option submit
with the form...for that matter, do autocompleting textboxes have
''option'' tags, or is what I want to do simply impossible 8[
Thanks,
Gustav
gustav-Y7mMFpLgOV2wB/GGPSRsq0B+6BGkLq7r@public.gmane.org
--
Posted via
2005 Aug 12
5
ANN: Interactive Fiction Mapper v0.5
.... this is still not fully done to call it a v1.0 release, but it is already tons of fun.
Please visit the download section of:
http://rubyforge.org/projects/ifmapper/
There you will find the following:
IFMapper
by Gonzalo Garramuno
What is it?
IFMapper is a tool for easily mapping interactive fiction games, also known as
text-based adventure games.
Why do we need it?
Because there are really no good mapping tools for these sort of games.
GUEmap is a commercial product and awkward to use, IFM is extremely
powerful but not very user friendly and Infomapper, of which IFMapper
borrows heavily,...
2006 Mar 06
0
How to use: INNER JOINS & IN
Hi
I am not clear about how to use INNER JOINS and IN(...) sub query in rails. Is there a good tutorial which helps newbies step by step ?
I have a
model Library
model Authors
model Fictions
The relation maybe explained as:
Library has many fiction books
authors have many fictions
The authors table has information like full name, period of life, country etc.
In that case, I want to select fictions from library, where the authors are from countries US and FRANCE
Thanks
R
__...
2007 Apr 12
2
[LLVMdev] "Name that compiler"
...ogrammers sometimes use it to indicate
especially difficult or obscure sections of code in a program so that others
do not tamper with them."
Why not some dragon name ? or maybe someone can use this idea to come up with
something else.
/f
Paolo Invernizzi wrote:
> Mithril
>
> The fictional metal from JRR Tolkien The Lord of the Rings.
>
> Gandalf says:
>
> "Mithril! All folk desired it. It could be beaten like copper, and
> polished like glass; and the Dwarves could make of it a metal, light and
> yet harder than tempered steel. Its beauty was like to that...
2007 Apr 12
3
[LLVMdev] Compiler Name
Suggestions:
Zembla - It's a fictional northern European country in "Pale Fire"
by Nabokov.
Pala - The island utopia in Aldos Huxley's "Island".
Thra - The world of The Dark Crystal.
-bw
2006 Oct 11
4
Object attributes in R
...x classes, such as a data.frame, where they 'stick' for the
data.frame, but attributes from the members are lost:
tm[3:5] # lost
ds[-3] # lost
str(dat[1:3,]) # only kept for data.frame
Is there any way of keeping the attributes when subsetted from primitive
classes, like a fictional "attr.drop" option within the "[" braces? The
best alternative I have found is to make a new object, and copy the
attributes:
tm2 <- tm[3:5]
attributes(tm2) <- attributes(tm)
However, for the data.frame, how can I copy the attributes over (without
using a for loop --...
2012 Jun 15
2
How to convert month-day-year to Julian data number?
...14 1 2 1939 ######## ######## 215422
4102001 70014 1 3 1939 ######## ######## 215423
4102001 70014 1 4 1939 ######## ######## 215424
4102001 70014 1 5 1939 ######## ######## 215425
4102001 70014 1 6 1939 ######## ######## 215426
4102001 70014 1 7 1939 ######## ######## 215427
(these JDs are fictions)
I have tried to apply strftime, mdy.date etc … etc…
But I couldn’t… could you help me, please?
Thank you very much,
Paloma
[[alternative HTML version deleted]]
2016 Aug 18
4
Issue with acl_xattr:ignore system acls in 4.5rc2
...nore
> the the system POSIX permissions when setting an NT ACL, we now ignore
> them as well when querying them. So this can be seen as improvement
> because previously our behaviour was inconsistent.
>
> In some sense "acl_xattr:ignore system acls = yes" works like a
> fictional option "acl_xattr:ignore system permissions = yes".
>
> Any filesytem object without NT ACL xattr will get default permissions
> matching Windows:
>
> ACL:$uid:ALLOWED/0x0/$mapped_mode
> ACL:NT Authority\SYSTEM:ALLOWED/0x0/FULL
>
> This affects directories...
2009 Sep 22
4
rspec-rails and rack middleware
It doesn''t seem like my controller specs are calling my middleware on
requests. Has anyone figured out a good way to test middlware with rspec?
I''m thinking something like
rails'' rails/actionpack/test/controller/session/mem_cache_store_test.rb but
with rspec... any thoughts?
Thanks!
Best,
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
2020 Aug 12
2
[Sharing] CentOS 8.2 (2004) Linux Server is Compatible with Dell PowerEdge R640 1U Server
Subject: [Sharing] CentOS 8.2 (2004) Linux Server is Compatible with
Dell PowerEdge R640 1U Server
Good day from Singapore,
I have just installed CentOS 8.2 (2004) Linux Server on Dell PowerEdge
R640 1U Server for "Donald Trump and Xi Jinping Investment Company LLP"
(fictitious/fictional company name used) in Singapore on 11 August 2020
Tuesday.
I can confirm that CentOS 8.2 (2004) is compatible with Dell PowerEdge
R640.
The hardware specifications of Dell PowerEdge R640 are:
(1) Processor: Intel Xeon Silver 4210R CPU @ 2.40 GHz (10 cores, 20
threads)
(2) 128 GB DDR4-2400 R...
2024 Oct 12
2
AD/DNS: Cannot Create a CNAME record with a blank name...
.../Active_Directory_Naming_FAQ#I_have_to_Use_Different_Names_to_Resolve_Host_Names_Internally_and_Externally
I'm trying to use the "clever trick" to make a certain internal server
resolve to the name I'm forced to use to resolve it externally. I
successfully created the new zone (fictionalizing the names for
inclusion here):
~ # samba-tool dns zonecreate "dc1" "myserver.example.com" -U administrator
Zone myserver.example.com created successfully
...but I get a runtime error when I try to create the CNAME record in
the zone "...leaving the name of the re...
2006 Jan 20
2
HP NetServer LC2000r and LH6000r install woes
...ng to the logical volumes on the NetRAIDs other
than create and initialize them?
i'm currently downloading the full CentOS install media, in case this
is some sort of deficiency in the ServerCD.
thanks,
steve
---
If this were played upon a stage now, I could condemn it as an
improbable fiction. - Fabian, Twelfth Night, III,v
2008 Oct 31
4
config moved?
...here:
http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b
Or, if Internet Explorer is your default browser, simply click this link:
http://www.cacert.org/index.php?id=17
Morgan Read
NEW ZEALAND
<mailto:mstuffATreadDOTorgDOTnz>
fedora + freedom; fact || fiction?
http://fedoraproject.org/wiki/Overview
get freed-ora!
http://www.fsfla.org/svnwiki/selibre/linux-libre/freed-ora
2017 Jan 11
2
16-bit bytes support
Hi.
I'm working on a backend for the
[DCPU16](https://github.com/techcompliant/TC-Specs/blob/master/CPU/DCPU.md),
a fictional CPU. The main subtlety is that the bytes are 16 bits instead
of 8. There is already a [working
backend](https://github.com/krasin/llvm-dcpu16), but it does a lot of
source modification to support 16 bit words. I try to update it to
latest llvm, but it obviously fails since the new code assume...