Displaying 20 results from an estimated 2272 matches for "favorit".
Did you mean:
favorite
2006 Aug 11
2
User Favorites
Hi there,
I''m currently creating a simple (at least so I thought) structure of
user favorites. Basically users can add certain ''objects'' to their
list of favorites.
Here is my current structure (simplified)
class User
has_many :favorites
end
class Book
belongs_to :favorites
end
class Favorite
belongs_to :user
has_one :book
end
The table favorite just has a two field...
2006 Jul 10
18
Deleting join association of has_many :through
I''m trying to use has_many :through, since my join model deserves being
more than just an intersection table.
But when I try to break the association, the break only seems
"temporary":
Let''s say my two tables are Users and Colors, and the join model is
Favorites.
user = Users.find(1)
user.colors.length
>> 2
c = user.colors.first
>> #<Color:....>
user.colors.delete(c)
user.colors.length
>> 1
Now what do I do here to make this persist?
If I reload my page, user.colors.length == 2 again, and the old color is
still a part of the...
2006 Jul 10
2
Polymorphic associations in reverse?
My app has an association that''s got me scratching my head.
I have Users, and Images. A User has many Images. (Yes, another
picture sharing app, but it''s for a small niche, and it doesn''t end
in -r!)
I would like to express a "Favorite" relationship between both Users
to Users, and Users to Images. This seems like the opposite of the
standard polymorphic model, i.e. tags and taggable, where a Tag may
apply to many different types of Thing.
Perhaps I''m not thinking of it properly, but this was my first stab...
2006 Mar 28
5
Rails 1.1 released
I haven''t seen a note here on the list, so in case anyone doesn''t
have their RSS reader glued to the relevant blogs...
http://weblog.rubyonrails.org/articles/2006/03/28/rails-1-1-rjs-
active-record-respond_to-integration-tests-and-500-other-things
Congrats to David and all the core team, and thanks for your
dedication and all the work. This release looks really solid and
2006 Jun 23
2
polymorphic challenge
Hello All,
I have a little challenge and I am not sure if this is even possible
I am working on a dating/event site and few functionalities are similar
that I want to centralize them.
We have users which can have
- favorite users
- interest list
- blocked users
All these relations are like;
User <-> Relation <-> User
I was thinking I could have a class called Relation (with a table
relations) and use through + polymorphic features.
Something in this range;
create_table :relations do |t|
t.colu...
2016 Jul 06
4
Permanently change default virsh editor
Hello, I found in the docs that I can change the editor I use on a per vm
bases with the following:
*EDITOR=$your-favorite-editor virsh edit $your-vm-name*
But how do I change it permanently so when I run:
*virsh edit $your-vm-name*
It defaults to my favorite editor (vim)?
Ref:
http://wiki.libvirt.org/page/FAQ
2007 Jun 14
1
Outlook 2003 - Disappearing favorite folders
Hello all,
I'm having an issue with Outlook 2003, where favorite folders seem to
disappear. Specifically, they are subfolders of the Inbox. The Inbox
favorite folder stays there without a problem. Any clues as to what the
problem may be? With the previous IMAP server (courier I believe) this
wasn't a problem...so it leads me to believe that Dovecot...
2004 Apr 21
1
Symlinks and roaming profiles
Hi all,
Has anyone else had trouble (or not) with symlinks created in root
preexec scripts and roaming profile directories? I'm trying to add a
"shared links" director (symlink) to everyone's favorites, and I get
error loading profiles where a symlink loop is forming (ends up with
something like "cannot copy
xxx\profile\favorites\favorites\favorites\favorites\...."). The symlink
is OK when viewed from a console.
any ideas
Jim Potter
(haven't got exact details in front of me...
2015 Sep 02
4
Redirected Folders not working for Desktop
Well, I've just added another directory to not make the redirected folders a the
root. And, Favorites and Documents do work.
Goog suggestion to check the Windows event viewer. I'll do that and get back
with what I find.
Thanks, --Mark
-----Original Message-----
> To: samba at lists.samba.org
> From: James <lingpanda101 at gmail.com>
> Date: Tue, 1 Sep 2015 08:14:06 -0400
>...
2008 Jan 24
6
Your "favorite" Asterisk application.
...ss, who loves to spend money for no particular reason, wants to go
proprietary, though. So I'm going to have to try to sell him. I figured
one place to start would be some of the really cool applications that
Asterisk has that -- generally, at least -- don't require licensing. Some
of my favorites are follow-me, meetme, voicemail-to-e-mail and
fax-to-e-mail. What are some of your favorite features/applications, be
ith native or third-party?
Thanks,
-Ken
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
2015 Sep 01
4
Redirected Folders not working for Desktop
I have a problem I've not been able to figure out. I'm using Samba4 as the
office AD/DC. I've set up the Redirected Folders policy to redirect Desktop,
Favorites and Documents to \\mail.hprs.local. I set this up months ago and it
works great for Documents and Favorites, but Desktop is not redirected (no Desktop):
$ ls -l /redirectedFolders/Users/thisuser/
total 16
drwxrwx---+ 10 thisuser users 4096 2015-08-25 13:08 Favorites/
drwxrwx---+ 19 thisuser use...
2006 Jun 26
1
Help with Wine programming.
.../webyog.com/faq/31_71_en.html (but it makes
no difference if we install under ../.wine/drive_c either). We would
like some help/hints to get every detail in relation to Wine
compability fixed - also with the new features of the program.
But let us try first to explain the the details
1) the 'favorites' feature. This is a folder tree in 'application
data' with plain text files. From the program menu you can build/edit
this folder tree and insert plain text file in there from the program's
editor component, or you can insert a file-URL to an existing file on
any drive that is ma...
2008 Mar 13
2
Please vote for your favorite Wine-1.0 bugs...
....0.0&resolution=FIXED
101 are left to fix:
http://bugs.winehq.org/buglist.cgi?target_milestone=1.0.0&resolution=---
We can't fix all of these before the 1.0 release; we'll have to
leave some for later.
If you want a say in which of these bugs get fixed sooner,
please vote for your favorite bugs. To do this,
sign into Bugzilla (you need to register, but that's easy),
pull up your favorite bug from the above list,
and click on the 'Vote for this bug' link on the bug.
We can't promise we'll fix the bugs with the most votes,
but knowing which ones are most popular...
2007 Nov 09
1
Your favorite desktop wifi sip hardphone ?
Hi,
Which is your favorite desktop wifi sip hardphone ?
I'm looking for something like
http://www.mitel.com/DocController?documentId=19401 which could be easily
moved from one meeting room to another.
(In this specific case, finding an electrical plug to power a large desktop
phone is seen more relevant than finding an...
2005 Jan 25
0
Inconsistent ls behavior on smbmount'ed Windows shares
...G="ru_RU.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en:ru_RU.UTF-8:ru_RU:ru"
SYSFONT="latarcyrheb-sun16"
[root@vax ~]# mount -t smbfs -o
username=username/DOMAIN%password,iocharset=utf8,codepage=cp866 //computer/c$ /mnt
[root@vax ~]# ls -la /mnt/Documents\ and\ Settings/igord/Favorites/Reading/The\ Open-source\ PKI\ Book.url
-rwxr-xr-x 1 root root 226 ??? 10 2004 /mnt/Documents and Settings/igord/Favorites/Reading/The Open-source PKI Book.url
[root@vax ~]# ls -la /mnt/Documents\ and\ Settings/igord/Favorites/Reading/The\ Open-source\ PKI\ Book.url
ls: /mnt/Documents and Setti...
2015 Sep 03
0
Redirected Folders not working for Desktop
James,
First, I mis-spoke (typed?) in my previous message. Yes, my redirected folders
are set up as \\mail.hprs.local\Users\%username%, just like you say. (Note, I've
already been chastized about the .local thing -- too late).
I did examine the event logs. For Favorites, Document, Photos, etc. I have
Event 501 messages which say, "Successfully applied policy and redirected folder
"Favorite" to '\\mail.hprs.local\Users\obfuscate\Favorites'", etc. Great.
For the Desktop, I have Event 502,
Failed to apply policy and redirect folder &q...
2006 Jul 02
1
prevent duplicate inserts with has_many :through ??
Does anyone have an efficient/elegant way to prevent duplicate inserts
when using a has_many :through relationship.
So I have something like this:
class User < ActiveRecord::Base
has_many :favorite_teams
has_many :teams, :through => :favorite_teams
end
class FavoriteTeams < ActiveRecord::Base
belongs_to :user
belongs_to :team
end
class Teams < ActiveRecord::Base
has_many :favorite_teams
has_many :users, :through => :favorite_teams
end
If one user creates a team lik...
2009 Aug 24
1
Want to help Wine and prevent regressions in your favorite (downloadable) app?
...ndent tests of
applications, then parses the log files to make sure no applications
broke, or bugs were fixed. The tests themselves are written using
AutoHotKey (http://www.autohotkey.com).
The neat thing about AutoHotKey is it takes pretty much no programming
skill to write a simple test for your favorite application. So if you
really love Foobar Text Editor, and some past version of Wine made it
crash, you can prevent that from happening again by writing a test for
it. That way, daily, Foobar Text Editor is installed and run, to make
sure it doesn't crash. Of course, if you've got time and...
2006 Apr 30
2
HABTM: Find sorted by number of associations
Hi,
I''ve been googling and searching the forums for some time
but can''t seem to find exactly what I''m looking for.
Suppose User HABTM Products (for example a favorites list). I would like to
construct a single query for finding Products ordered by the number of
Users that have flagged them as favorites.
Although I can construct the query using SQL a with a
SELECT products.*, count(products_users.user_id) FROM products
LEFT OUTER JOIN ... GROUP BY etc. -...
2011 Apr 19
0
Love wine? Here's a new way to find your favorites!
...not sure what I am doing =). But I had to share an amazing find! A friend of mine sent me a link to a new website that carries so many different wines---(that I can never find at my local liquor store)---its called ELEPHANTWINE.COM....I called the customer service number because I could not find my favorite wine..and the lady was soo nice and made a special order for me! For those who are like me---and can't always find their favorite wines or like wines from other states...Elephantwine.com is a great site...plus--the lady over the phone said they just launched so they would appreciate new custom...