Displaying 8 results from an estimated 8 matches for "gehling".
Did you mean:
behling
2009 Jan 23
3
Bug regarding ActiveRecord and TimeWithZone
I''ve discovered a strange behavior regarding ActiveRecord and
TimeWithZone
I''ve seen the error when using SQL Server, I have not yet tried with any
other database.
Here''s output from the console - "User" is a simple model made with a
migration.
-----------------------------------------
>> d1 = User.find(:first).created_at
=> Thu, 21 Jun 2001
2007 Jan 15
3
Wrong total_hits when using conditions in find_by_contents
I don''t know if this is a bug, or wanted behavior, but for me it was a
pain in... So here''s the problem + a bugfix.
Lets say you have a model "Article" with the following fields: title,
visible - and these records
[code]title, visible
ferret talk, 1
ruby talk, 0
ruby on rails, 1
lets talk about ruby, 1[/code]
If I let Article act as a ferret, and do:
result =
2007 Nov 24
12
orphan habtm rows
HI,
i use models User and Groups connected with many to many association, so
i have users table, groups and groups_users.
lets say i create one user and one group. next i add a group to user. so
now my table groups_users has one entry i.e.
group_id | user_id
_________|________
1 | 1
ok, when i delete both my group and user, above entry is not deleted,
thus leaving alone without
2005 Jun 29
1
Restricted folder inside public share
I've been assigned the task to make a fileserver with the following
share:
\\my-samba-server
+---- public <--- Shared folder without password
| restriction
|
+---- event <--- Subfolder that requires
valid username/password
I use Samba 3.0.12 installed on a FreeBSD from the ports collection.
The anonymous
2009 Feb 03
4
Ruby EE: Problem with BigDecimal
I have a strange problem with my setup of Passenger and Ruby Enterprise
Edition.
Sometimes the loading of BigDecimals from the database and session fails
(silently) and the variable containing the BigDecimal is just empty.
I cannot pinpoint where/when/how it happens, and it IS only periodic.
I am using the newest versions of both Passenger and REE - I have even
tried to run with latest commit
2008 Jan 21
4
Rails app cannot connect to Ferret server
I have installet the Ferret gem v. 0.11.6 and the latest acts_as_ferret
plugin from
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
I''ve followed the instructions here
http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer to set up the
server, and put acts_as_ferret :remote => true on one of my models (Ad)
I can also start the ferret_server, but when
2009 Oct 28
0
Specific routing problem
I am implementing a system for users to easily create a small shop for
themselves. And I''ve run into a route problem.
NOTE: I''ve removed a lot from my route.rb file, since I want focus on
this particular problem. :-)
I currently have a route.rb like this:
ActionController::Routing::Routes.draw do |map|
map.resources :shops do |shops|
shops.resource :cart, :member => {
2010 Jan 20
0
How to map a Named Route onto a namespaced resource?
I have a site, where I am currently adding a self-built shop.
Among other stuff I have this construction in my route-file
map.namespace :shop do |shop|
shop.resources :categories do |categories|
categories.resources :products
end
end
I like the namespace, since it encapsulates the shop nicely inside my
webapplication.
Somehow I would like the url "http://mysite.com/shop" to