search for: rails_extensions

Displaying 6 results from an estimated 6 matches for "rails_extensions".

2008 Jan 26
14
Introducing facebooker.yml
If you are using facebooker as a plugin, you can now have all your configuration in one place, namely config/facebooker.yml. You can create this file with rake facebooker:setup. It is also generated when you install it as a plugin. It has a similar setup to database.yml with sections for each environment. You can also configure your ssh reverse tunnels. If you are upgrading, make sure to
2007 May 09
3
engines causing problems with mocks
...s" do get ''index'' response.should be_success end end Gives me this error undefined method `callback_events'' for #<Class:Spec::Runner::Specification> /Users/davidsmalley/Development/incutio/skeleton/config/../vendor/ plugins/engines/lib/engines/rails_extensions/dependencies.rb:139 :in `require_or_load'' ./vendor/plugins/sor_core/spec/controllers/ admin_collections_controller_spec.rb:7 137 # if we managed to load a file, return true. If not, default to the original method. 138 # Note that this relies on the RHS of a boolean || not to be...
2005 Apr 23
2
[Tip] Introspection to determine if a column may be null
...quired? method, which indicates if the column may or may not be null. The following is a huge hack - suggestions on a cleaner way to add this functionality (without changing the postgresql adaptor itself) are very much welcomed. As our implementations for any other adaptors. # From my own lib/rails_extensions.rb file, included in config/environment.rb class ActiveRecord::ConnectionAdapters::Column def required? @required end end class ActiveRecord::ConnectionAdapters::PostgreSQLAdapter alias_method :_real_columns, :columns def columns( table_name, name=nil ) cols = _real_columns(...
2006 Feb 22
9
acts_as_habtm_list plugin
...e Api as acts_as_list. The position column has to be defined in the join table. You can find additional information at: http://www.inlet-media.de/acts_as_habtm_list/ Install it executing this command in your rails-application root directory: script/plugin install \ http://svn.inlet-media.de/svn/rails_extensions/plugins/acts_as_habtm_list -- Norman Timmler http://blog.inlet-media.de
2007 Dec 02
0
new installation and migration
.../1.8/gems/activesupport-1.4.4/lib/ active_support/dependencies.rb:248:in `load_missing_constant'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/ active_support/dependencies.rb:452:in `const_missing'' from /var/www/sito/vendor/plugins/rel_1.2.0/lib/engines/ rails_extensions/rails_initializer.rb:23 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in `gem_original_require'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/ active...
2007 Oct 24
8
validates_confirmation_of not working
...ib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ dependencies.rb:202:in `load_file'' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ dependencies.rb:94:in `require_or_load_without_engine_additions'' #{RAILS_ROOT}/vendor/plugins/engines/lib/engines/rails_extensions/ dependencies.rb:139:in `require_or_load'' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ dependencies.rb:248:in `load_missing_constant'' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/ dependencies.rb:452:in `const_missing'' C:...