This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select name="product[tag_ids][]"> | |
<option></option> | |
<%= options_from_collection_for_select(tag.children, "id", "name") %> | |
</select> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# My sample caconfig.cnf file. | |
# | |
# Default configuration to use when one is not provided on the command line. | |
# | |
[ ca ] | |
default_ca = local_ca | |
# | |
# | |
# Default location of directories and files needed to generate certificates. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Filter chain halted as [#<ActionController::Filters::ClassMethods::SymbolFilter:0x2aaaaec955f8 @filter=:ssl_required>] rendered_or_redirected. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% if @order_account.cc_type %> | |
<% @selected = @order_account.cc_type %> | |
<% end %> | |
<td><%= select('order_account', 'cc_type', OrderAccount.cc_type, {:selected => @selected}, {:tabindex => "9"}) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def run_transaction_paypal_wpp(remote_ip) | |
ba = self.billing_address | |
logger.info ("\n\n\n\n Before credit_card:#{self.account.cc_type} \n\n\n\n") | |
credit_card = ActiveMerchant::Billing::CreditCard.new( | |
:type => self.account.cc_type.to_s, | |
:number => self.account.cc_number, | |
:month => self.account.expiration_month, | |
:year => self.account.expiration_year, | |
:first_name => ba.first_name, | |
:last_name => ba.last_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Product.find_by_category(category_id, ????, "display_on ASC") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
undefined method `app' for #<CandidateMembershipForm:0x243bac8> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wrong argument type String (expected Module) | |
Extracted source (around line #38): | |
35: <% fields_for "application_form[training_experiences][]", TrainingExperience.new do |ff| %> | |
36: <tr> | |
37: <td class="label required"><%= label :type, "Type" %> | |
38: <td><%= ff.select(:type, TrainingExperience.types, { :include_blank => true }) %> | |
39: <tr> | |
40: <td class="label required"><%= label :location, "Location" %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActionView::TemplateError (xml_url failed to generate from {:type=>"article", :format=>"rss20", :action=>"feed", :controller=>"xml", :id=>#<Article id: 3, type: "Article", title: "test", author: "test", body: "test", extended: "", excerpt: nil, keywords: "test", created_at: "2008-10-02 13:12:49", updated_at: "2008-10-02 13:16:33", user_id: 1, permalink: "test", guid: "386f1c91-d432-4b92-bb6e-ac2d1dc333ee", text_filter_id: nil, whiteboard: nil, name: nil, published: true, allow_pings: true, allow_comments: true, published_at: "2008-10-02 13:11:00", state: "published">}, expected: {:type=>"sitemap", :format=>"googlesitemap", :action=>"feed", :controller=>"xml"}, diff: {:type=>"sitemap", :format=>"googlesitemap", :id=>#<Article id: 3, type: "Article", title: "test", author: "test", body: "test", extended: "", excerpt: nil, keywords: "test", created_at: "2008-10-02 13:12:49", updated_at: "2008-10-02 13:16:33", user_id: 1, permalink: "test", guid: "386f1c91-d432-4b92-bb6e-ac2d1dc333ee", text_filter_id: nil, whiteb |