Displaying 6 results from an estimated 6 matches for "dasil003".
2008 Feb 25
6
Review Request for Significant Performance Improvement in ActiveRecord
I''m going through my old tickets, and I found an outstanding ticket
that I''ve put many hours into, and is absolutely critical for a
production project that I''m now updating to Rails 2.0.2. The ticket:
http://dev.rubyonrails.org/ticket/9560
This comes on the tail of:
http://dev.rubyonrails.org/ticket/9497
Which I believed to be the superior improvement due to a very
2007 May 19
3
form question
Suppose I have the following models/migrations:
class Car < ActiveRecord::Base
belongs_to :manufacturer
validates_presence_of :manufacturer
validates_association :manufacturer
end
class CreateCars < ActiveRecord::Migration
def self.up
create_table cars do |t|
t.column :name, :string
t.column :manufacturer_id, :integer
end
end
class Manufacturer <
2009 Oct 05
2
domain names within app
Hi-
I have an shopping cart rails app.
I would like to be able to host multiple domain names within the same
shopping cart application.
I would like to be able to detect the domain name, and then set a
parameter that tells what logo to display for that domain name.
Does anyone know how this can be done?
Thanks,
Clark
2011 Mar 27
0
replacement for functionality from acts_as_textiled
...le codes for bold, italic,
underline, etc... From what I understand this is provided by RedCloth
and acts_as_textiled. I have been investigating and find
acts_as_textiled (https://github.com/defunkt/acts_as_textiled) is no
longer maintained, and although forked into another gem (https://
github.com/dasil003/acts_as_sanitiled) the developer no longer
sanctions the use of either.
Here is a section of code for a textiled box on our site.
<label>Post details</label>
<div style="width: 600px">
<%= textile_editor :job_post, :details, :class=>''text_field'...
2006 Sep 03
1
New Technique: Subsets of has_many Associations
I just now thought of this, and sure enough it works like a charm (at
least so far in my limited testing):
has_many :events, :dependent => :delete_all
has_many :upcoming_events, :class_name => "Event", :conditions =>
"date > NOW()"
The purpose of this is that it makes eager loading of subsets of
associations possible without replacing all the magic of the
2006 Sep 11
0
ActiveMerchant Paypal Pro Support
How is ActiveMerchant''s Paypal Pro support? I am migrating a client''s
site to Rails that uses Paypal Pro and they have been pretty happy with
it (and know how to use Paypal''s website). I tried first setting up
the PayPal plugin directly, but ran into some issues and then I noticed
that ActiveMerchant has PayPal Pro, but its labeled "testing" and