Displaying 10 results from an estimated 10 matches for "cowel".
Did you mean:
vowel
2011 Jan 17
4
Factory Girl and attr_accessor with validation
I have a problem with a recent change to one of my models when created
via Factory.create.
class User < ActiveRecord::Base
attr_accessor :tc_check
validates :tc_check, :presence => true, :acceptance => true
...
end
The following definition fails, when calling
Factory.create(:valid_user)
Factory.define :valid_user, :class => User do |u|
u.email
2010 Dec 20
11
rails code to sql
Is there a relatively easy way to do this code in sql?
@categories=Category.all.reject{|n| n.blank?}.sort{|a,b| a.name
<=>b.name}.collect{|t| [t.name,t.name.downcase.gsub('' '',''_'')]}
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2006 Sep 18
26
[Bug 512] poptop (pptpd) will not work if ip_nat_pptp loaded
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=512
------- Additional Comments From kaber@trash.net 2006-09-18 07:36 MET -------
There are still some problems with the PPtP helper, I'm currently trying to fix
these. Can you attach a tcpdump of a failed attempt please?
--
Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email
------- You are
2010 Sep 28
12
Completed 406 Not Acceptable
After migrating my 2.3.9 app to rails 3.0.0 I get this error:
Completed 406 Not Acceptable in 513ms
I also noted that processing controller doesn''t output the protocol:
-- Processing by Admin::PhotographersController#update as
while if it works, say:
-- Processing by Admin::PhotographersController#update as HTML
Here is the full action output http://pastie.org/1187051
Can
2013 Oct 23
1
Help with Icecast Configuration
Hi There
I'm looking for some help configuring ice cast. I'd be more than happy to
pay for the assistance.
Basically i am looking to migrate all of my streaming from shoutcast to
icecast. Currently i have 2 icecast2 servers that i would like to be
somehow clustered together. i've seen how it's possible to move listeners
from server to server etc...
Do you know of any resource I
2006 Sep 18
0
[Bug 512] New: poptop (pptpd) will not work if ip_nat_pptp loaded
...oaded
Product: netfilter/iptables
Version: linux-2.6.x
Platform: i386
OS/Version: RedHat Linux
Status: NEW
Severity: normal
Priority: P2
Component: NAT
AssignedTo: laforge@netfilter.org
ReportedBy: greg.cowell@celentia.com
I have installed kernel 2.6.17.11 on my Centos 4.3 (RHEL 4) firewall so that I
can use the excellent new PPTP connection tracking functionality. It all works
perfectly unless I try to run Poptop (pptpd) on the same firewall. Running
Poptop on a separate server (still on kernel 2....
2010 Sep 04
3
its easy but i forgot all
my models
borrower ----- has_many :loans
loan ----- belongs_to :borrower
my loans _controller
def new
@borrower = Borrower.find(params[:borrower_id])
logger.debug '' @borrower.id''
logger.debug @borrower.id
@loan = Loan.new
respond_to do |format|
format.html # new.html.erb
format.xml { render :xml => @loan }
end
2010 Sep 12
11
Rails Commenting, Plugins?
Hello,
I''m looking to add comments to records in my app like Books. So a user
can view a Book and then comment on it...
As a newbie, is this something that I should build from scratch, or
are there any popular Commenting Plug-ins, (Ajax implemented) that
might be worth utilizing?
Thanks
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2010 Oct 07
5
ActionController::RoutingError (No route matches "")
ActionController::RoutingError (No route matches "/atweet"):
Unsure on why routing to my view isn''t working. controller appears to be
functioning, however the view isn''t work, when I attempt to go to it,
this happens... sniff... sniff.... help???
I don''t get routes.rb in rails...
--
Posted via http://www.ruby-forum.com/.
--
You received this message
2011 Feb 17
9
Page Caching... extending it???
Hey there
Is it possible to intercept Action Cache to force it to use a
specified filename to save to.... or to load a specified cached file
that is different to the current one expected for the URL?
I guess this is some sort of "extending" of action cache.... but I
cannot find much in google :)
thanks
--
You received this message because you are subscribed to the Google Groups