similar to: We ain''t got no RSpec

Displaying 20 results from an estimated 2000 matches similar to: "We ain''t got no RSpec"

2007 Feb 19
2
Acts_As_Ferret Tutorial
Hey guys, I wanted to share with you guys a detailed tutorial I just finished this weekend for using Acts_As_Ferret. http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial I started using Ferret and Acts_As_Ferret a few weeks ago, and I learned so much that I wanted to give back to the community by writing up a helpful tutorial that covers all the key topics in one
2008 Jan 21
13
has_many with different primary key
I''ve got quite the ActiveRecord challenge, any help would be appreciated. In my current project Companies can have many reviews. class Company < ActiveRecord::Base has_many :reviews, :as => :reviewable end However, my company table, I have two different IDs to identify my company. id - This is the typical id we use for normal stuff other_company_id - This is the id we use
2006 Jun 27
3
Decoding Unicode URLs Properly
Please help, I have an application I switched over to UTF-8, but I am unable to decode URLs with unicode characters in them properly. For instance, if I have "item=Pur%E9ed" as a parameter in my url, when it''s decoded by rails, it returns "Pur?ed" and not "Pur?ed". Is there an easy way to fix my controller to accept these characters properly?
2008 Aug 26
0
Advanced ActiveRecord - Envycast.com
Hey guys, This morning Jason Seifer and I released a new screencast website called EnvyCasts. If you enjoy the content that comes from Rails Envy, then maybe check it out. Our first screencast is "Advanced ActiveRecord", which is available for just $9 bucks at http://envycasts.com How are our screencasts different? Well, we use a green screen, which means you actually see
2006 Sep 29
5
Request URI Length Override
Please help, Does anyone know how to override the Mongrel request URI limits built in? I know it was set at a 512 byte limit, but my application will not work with this in place. Why do I need a larger limit? I''ve written a rails application that uses a bookmarklet to send large amounts of data from site to site. The only way to do this is (and keep it cross browser
2006 May 24
2
OSX Rails Session Issues
Hey friends, I need a little assistance getting one of my applications running on OSX. I am able to install everything, and get my application running, but when I try to store an object in the session in one of my apps, the session object doesn''t get stored. I tried running webrick, and I tried running under lighttpd. I tried running a regular session store, and a mysql
2007 Oct 01
4
Need Help with Custom Associations
I''ve read the Rails Envy AAF tutorial at http://railsenvy.com/2007/2/19/acts-as-ferret-tutorial and its given me some really good ideas. My problem lies in having AAF search the target Model''s child tables. I have no problem at all doing something like: acts_as_ferret :fields => [:title, :update_collection, :member_name] def member_name return
2006 May 02
2
Converting from UTF8 to ISO-8859-1 encoding
Please help, I have followed the rails wiki to convert my rails application to use UTF-8: http://wiki.rubyonrails.com/rails/pages/HowToUseUnicodeStrings I am able to succesfully cut and paste Unicode characters from other page, successfully store and display unicode characters. However, my client actually wants ISO-8859-1 encoding, which I''m coming to realize is somehow
2001 Jan 09
2
Bug: oggenc
This works: oggenc -b 192 -a "Astral Projection" -l "In the Mix - CD1 (Sundown)" \ -t "Another World" -o "01-another_world-(floorplay_remix).ogg" \ -c "TRACKNUMBER=01" -c "TRACKCOMMENT=Floorplay_remix" \ 01-another_world-(floorplay_remix).wav But this doesn't: oggenc -b 192 -a "Astral Projection" -l "In
2007 Feb 03
2
Boost Sorting with Acts_as_ferret?
Hey guys, Simple question here. I have a single index of recipes, from which I''m looking at the following fields: Name, Ingredient Text, Tags, and Description. The key is, I want to show all the results that come from Name, before I show any of the results from Ingredient Text, Tags, or Description. I tried doing this: acts_as_ferret :fields => { :name =>
2010 Dec 04
1
wine for ubuntu netbook
hi I have installed ubuntu 10.10 netbook remix on my acer aspire one and after that I had some problems in installing wine. and now every time i wanted to edit source code or repositories it tells: "E: Type 'b-src' is not known on line 1 in source list /etc/apt/sources.list.d/ubuntu-wine-ppa-maverick.list E: The list of sources could not be read. Go to the repository dialog to correct
2007 Sep 12
1
Highlighting isue in description
I have read the highlighting section at http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial#highlighting It mentions that for highlight to work I must have {:store => :yes}. However it also mentions that only "small" fields should be stored. My question is how small is small enough. I have a site where events information is maintained. I have events title and events
2007 Jul 19
1
Acts_As_Ferret only returns results when searching for "*"
Hey, I''m probably just missing something really obvious but I''ve been stuck on this problem for a while now and I''m not getting anywhere. I have installed the acts_as_ferret gem, as well as ferret according to the tutorial on RailsEnvy. My model, controller, and environment.rb files have all been modified as per that turotial. However any attempts to use the
2015 Apr 15
7
Related to the new laptop question: CentOS on a netbook?
I've got a netbook, circe 2009. When I got it, not that I was wild about ubuntu, but there was specifically an ubuntu netbook remix. Well, it's a few years later - has anyone put CentOS (6, preferably) on a netbook, and were there any problems? mark
2017 Jun 05
4
C6 or C7 for an old netbook
I've got an old HP Netbook, which is just fine for taking with when I'm travelling, to check email and news. I have a very old Ubuntu netbook-remix on it, and it really, *really* needs to be updated to something current. I, of course, would prefer CentOS.... The question is: I see that *if* the specs I just looked up (I'm at work, not home, where I could just turn it on, but they
2012 Jan 29
1
A desktop Centos remix
Hello Centos users! I'm doing a Centos 6 desktop oriented remix called Stella. This has been brewing since the summer and it's starting to get ready. :-) I've backported a lot of packages from Fedora and Rpmfusion and I bundle several other repos, too, resulting in a big range of software available, including but not limited to: LibreOffice, VLC, MPlayer, Shutter, Arista, Java,
2007 Oct 03
3
Pagination problem with acts_as_ferret
Hi, am using this wonderful plugin acts_as_ferret and according to the tutorial at http://railsenvy.com/2007/2/19/acts-as- ? rial#basic I worked it out except the pagination feature. If I have 12 records and I give limit to 10, its correctly displaying 10 records in the first page and is giving the link to the second page too. But when I go to the next page I find the same 10 records instead of
2011 Oct 20
1
Gluster Storage platform crashed how to get the data back?
we have 4 shared volumes in the storage platform 3.1 but all of a sudden the platform stopped responding. when I try connecting through webcontrol panel it gives as Template folder (/var/tmp/templates_c) is not available when I connect the monitor to the server it comes with a new kinda login screen just like windows and it hangs there... what could be wrong how do i get back my data? please
2007 Aug 06
4
acts_as_ferret cross model index not updating
Does anyone know how do you get acts_as_ferret to automagically update non-standard fields? I''ve followed Rails Envy''s tutorial (http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial#nonmodel) to get aaf working across different models. And once the index is built it searches fine. In my (main) model, I''ve put: acts_as_ferret :fields => [ :name,
2004 May 18
1
how does a sip://user@dom.ain url come in
if the dns has _sip._tcp.my.dom. SRV 0 0 5060 asterisk.dom.ain. _sip._udp.my.dom. SRV 0 0 5060 asterisk.dom.ain. where asterisk.dom.ain. is an A RR of the asterisk pbx. how does a call to sip://user@my.dom come in to asterisk so i can route it? do i just put in sip.conf [username] context = from-url-username and extensions.com [from-url-username] exten =>