search for: mbleigh

Displaying 13 results from an estimated 13 matches for "mbleigh".

2010 Jan 18
1
binarylogic-searchlogic ~> 2.0 binarylogic-authlogic mbleigh-subdomain_fu
...tion has exited during startup (i.e. during the evaluation of config/environment.rb). The error message can be found below. To solve this problem, please follow any instructions in the error message. Error message: Missing these required gems: binarylogic-searchlogic ~> 2.0 binarylogic-authlogic mbleigh-subdomain_fu You''re running: ruby 1.9.1.0 at /usr/local/bin/ruby rubygems 1.3.5 at /usr/local/lib/ruby/ gems/1.9.1 Run `rake gems:install` to install the missing gems. This is my environment.rb: config.gem ''binarylogic-searchlogic'', :lib => ''searchlogic...
2008 Oct 02
1
acts_as_taggable_on environment issues
...cript/runner:3:in `require'' from ./script/runner:3 Here are the things that I know are the same on both machines: - Rails has been frozen in vendor/ at version 2.1.0 - In vendor/plugins I have two plugins, facebooker and mysql_bigint - I''ve got the following gems in vendor/gems: mbleigh-acts-as-taggable- on-1.0.2 and mislav-will_paginate-2.3.4 - Both machines have RubyGems 1.3.0 - Both machines are running MacOS X 10.5.5 with the latest security updates. Here are the things I know are different on the machines: - Hardware - production: mac mini, dual core Intel - developm...
2010 Mar 26
7
seed data
Hi I am using seed_fu to seed initial data to tables (http://github.com/mbleigh/seed-fu) . And in db/fixtures/state.rb I have values like (I am filling only two data for simplicity) State.seed_many(:name, :abbr,:fips,:country_id, [ { :name => "Alberta", :abbr => ''AB'',:fips => ''01'', :country_id => 2 }, { :n...
2009 Mar 20
4
Reporting with Rails
Hi all, I was wondering how you guys generate reports from rails. I want to generate business reports in pdf format, and was wondering what you guys use. I have searched the web and found Ruport, but there isn''t much documentation or examples of real world business reports like jasperreports, for instance. Is it possible to generate good looking business reports with ruport? What other
2010 Mar 16
7
Recommendations for pdf generators
hi, everyone, i have googled around for some pdf generators. Found 1) PDF::Writer which is a little dated 2) Rupdf (http://scoop.simplyexcited.co.uk//2007/12/15/rupdf-simple- ruby-pdf-rails-plugin/ and http://agilewebdevelopment.com/plugins/rupdf) - it''s a little dated. Last revision was on 15th of Dec, 2007. Any recommendations for pdf generators? thank you -- You received this
2010 Dec 07
10
Advice on data design idea
I''m about to embark on a project and am seeking advice on my approach. I have an automotive site that needs to have shared categories. I''ve checked out different nested set, ancestral, acts_as_tree, acyclic plugins but feel they don''t exactly fit. So I am about to roll my own simple solution. Any feedback as to whether this looks good is appreciated. Essentially I
2011 Feb 09
0
(Devise+Omniauth) Adding a port number to the callback URL patch applied but not working with openid
I was facing problem reported in issue # 101 (https://github.com/ intridea/omniauth/issues/issue/101) and able to resolve it by suggested code (mbleigh on January 12, 2011) in environment.rb However, open ID is still not working. (As mentioned in fix too). Can someone please help to resolve this or any workaround ? regards, Jaymin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" grou...
2010 Apr 30
1
Dumping 12,000+ records into seeds.rb?
I have a legacy e-commerce app that''s got about 12,000 inventory items in it, including pairings between items in one model to items in another. There''s no way we''ll have the manpower to manually add all those items and their pairings again ("ah cannah dew ih, cap''n!"), so I''m hoping to write a series of either Ruby or raw SQL scripts to move
2012 Apr 27
1
Can't mass-assign protected attributes even if I use attr_accessible
Hi, I''m working on a Rails 3.2.2 application which has JSON APIs and I use a CLI client for inserting some data. It works fine except for the Author model. When I try to create a new post (Post belongs_to :author and Author has_many :posts) I get the following error : <h1> ActiveModel::MassAssignmentSecurity::Error in PostsController#create </h1>
2007 Dec 21
1
Princely - Prince XML PDF Wrapper Plugin
Recently I was implementing PDF generation for a project utilizing the fantastic library Prince XML (http://www.princexml.com). I came across a blog article with a basic library and helper set for Prince (http:// sublog.subimage.com/articles/2007/05/29/html-css-to-pdf-using-ruby-on- rails), which provided a great basis. I wanted to make something a little more generalized and in-keeping the Rails
2012 Apr 03
4
one master table to hold symbols: good or bad idea?
(This is may be more of a db design question than a rails question.) Summary: I''m thinking of creating a single AR class to hold constant symbol values and use it for :has_many_through relations whenever I need a constant symbol. Is this a good idea or a bad idea? Details: I notice that I have a lot of models that contain just a name string: create_table
2010 Nov 16
15
acts_as_taggable, undefined method 'empty?'
I''ve tried out ''acts_as_taggable'', ''acts_as_taggable_on'' and ''acts_as_taggable_on_steroids'' and all of them output "undefined method ''empty?''" with the tag_cloud action. I am following the guides precisely. Yet I can find no references to this error anywhere, so I must be doing something wrong... I am on
2007 Dec 09
5
Browserized Styles Plugin
Browserized Styles provides a dead simple way to create browser- specific CSS code for use in a Rails application. All you need to do is create a .css file targeted to a browser by appending an underscore and identifier to the end. === Installation === script/plugin install http://svn.intridea.com/svn/public/browserized_styles === Example === Let''s say I have some complex CSS code