Displaying 20 results from an estimated 53 matches for "koppelman".
2006 Apr 25
7
[TIPS] File_column plugin and multiple file uploads
No..i am not a full time rails developer...i code in pl/sql for paying my
bills...and i am just working on a pet project...so i had some trouble in
doing..what i specify in the subject.....now somehow i solved this
problem...so those interested can look at the code at:
http://hemant.wordpress.com/2006/04/25/file_column-and-how-the-fuck-it-handles-multiple-files/
I write this mail and
2006 Apr 30
7
Rich text aera?
Hi all,
I am trying to add an article editing interface to my future webstore,
and I am wondering what to use for text formatting.
I would like to avoid using HTML, and calibre-bbcode just won''t work
(see my last post).
Is there some kind of library for live text formatting right in the
browser? I would just need bold, italics, size and ul lists... Do you
know of a good solution?
2006 May 01
6
Two developers, one on unix and one on windows
Hello all,
An interesting problem, I am developing on Windows, another developer is
using Unix, and our app and svn repository are running on a Linux box.
We need an easy way to not keep breaking our app and each others
development environs when we check in the code. The piece in question is
the dispatch.fcgi. The path to ruby is (obviously) different in Windows
and Unix. Has anyone run into
2006 Apr 14
5
state_models plugin and file_column?
I was looking at Kyle Mawell''s extremely nifty-looking StateModels
plugin
http://www.kylemaxwell.com/articles/2006/02/06/fun-with-single-table-inheritance
and before I go down the road with it, I was wondering if anyone has
used it with file_column.
The way file_column deals with an uploaded file -- by storing it to the
filesystem in a path that employs the model name and id --
2006 Apr 14
6
Login Generator with Extensible authorisation
I want my web app to have a signup/login generator but have 2 tiers of
users - normal and premium. There seems to be lots of login generator
and engines with scattered tutorials about extensible authorisation and
Im lost as which is the ''best'' or most ''easy to use'' solution. Anyone
had success in this area?
--
Posted via http://www.ruby-forum.com/.
2006 May 30
4
Selectboxes and Rails
Hey was wondering how to setup a select box that when I call
Model.new(params[:model]) it will automatically putit into the db...
I tried
<select name="home_bedrooms" id="home_bedrooms">
<option value="0">0</option>
...
</select>
then when I do @home = Home.new(params[:home]) that field doesnt insert
into the db.. any ideas?
-Ray
2006 Apr 21
8
FastCGI: Apache 1.x or 2 on new Debian System?
Hi,
I am just installing a new test environment, but this is just for
preparing the next one, which will be a production server.
I am doing a clean Debian Sarge 3.1 install with stable sources. I have
to decide if I install Apache 1.x or 2 now.
I have read that FastCGI is better supported/developed for Apache 1.x.
Is this (still) true? What is easier, more stable, etc? I want to run
rails
2006 Apr 24
5
radrails gone mad
Hi *,
I have been using radrails as an IDE for awhile now and we were getting
along just fine - but recently it has just gone totally postal?!??
I created a new rails app - when I click to expand the folders there is
no framework in place, just the root folder of the app.
To add insult to injury two weeks of work also just disapeered - I kid
you not just gone without any deletion on my part.
2006 May 16
2
liquid: passing objects
I''ve got Liquid installed and maybe since I''m not coming in with Django
experience, I''m completely mystified by how to pass anything worthwhile
to a template.
In my controller:
def preview
@customer = Customer.find(1)
@letter = Letter.find(1)
@liquid_body = Liquid::Template.parse(@letter.body)
@x =
2008 Jun 30
2
activerecord-sqlserver adapter broken or worse
The activerecord-sqlserver-adapter gem is still sort of available via
gems.rubyonrails.org, but it will not install on machines that have
Rails 2.1 (or its version of ActiveSupport) installed. This has been
confirmed with versions of rubygems through 1.2.
This seems to indicate that Rails is no longer tested against the MSSQL
adapter and that the adapter is also no longer tested against Rails
2006 May 02
17
Tests just deleted my production Database!!! PLEASE HELP
Running the functional tests has deleted the data in my production
database!!! please help!! Using rails 1.1.1 + Oracle.
This is my database.yml file :
development:
adapter: oci
host: "V2:1521/TIM"
username: salt
password: oracle1
test:
adapter: oci
host: "V2:1521/TIM"
username: rectest
password: oracletest
production:
adapter: oci
host:
2006 Jan 17
3
file_column :root_path question.
I''m developing on Windows and deploying to FreeBSD+lighttpd using
Switchtower and I''ve got things generally working. My problem now is
that file_column data gets zapped every time I deploy, because
Switchtower creates a whole new myapp/public directory with each rev.
I looked through the file_column docs and found the :root_path option,
which I use in my models as follows:
2006 Aug 25
4
fitting a gaussian to some x,y data
I apologize if this is redundant. I've been Googling, searching the
archive and reading the help all morning and I am not getting closer
to my goal.
I have a series of data( xi, yi). It is not evenly sampled and it is
messy (meaning that there is a lot of scatter in the data). I want to
fit a normal distribution (i.e. a gaussian) to the data in order to
find the center. (The data
2006 Mar 31
18
Modelling Foreign Keys
Can someone point me to a reference or tutorial that shows how to map
foreign key relationships in the model?
For example given:
Users
id
name
email
Posts
id
user_id
title
How do I associate user_id with users.id in the Post and User models?
has_many and belongs_to don''t seem to do it.
--
Posted via http://www.ruby-forum.com/.
2006 May 02
9
Updating only one field
At present, I use an update like this to set the user''s last login time:
authenticated_user.update_attribute(:last_login, Time.now)
However, this calls the following, updating all fields:
UPDATE users SET `last_login` = ''2006-05-02 13:27:41'', `hashed_password`
= ....
Is there any way I can tell ActionRecord to only update the one field?
I don''t really want
2006 May 12
2
Logical organization of controllers
I find that many of my controllers have a dozen or more methods and that it
can take a few moments to orient myself when I open a controller I haven''t
looked at in a while. Does anyone have suggestions for organizing methods
in a controller (alphabetical, by function, etc) to increase readability and
scanability?
-------------- next part --------------
An HTML attachment was scrubbed...
2006 May 19
2
RoR and IBM Webservers
Folks, is it possible, or has anyone, gotten RoR to run any any IBM
webservers?
If so, can you offer details, links, advice, etc?
Thanks,
Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060519/d3c4adaf/attachment.html
2006 Apr 08
5
file_column
hello,
how to generate new image if i do add new version? For example, I add
version :small => { :size => "320x240" } .
How to tell file_column to generate new image version if image is
allready uploaded ?
Thank you!
--
Posted via http://www.ruby-forum.com/.
2006 Mar 09
0
Re: Displaying related tables in forms.. probably an easy qu
Steve -
That was the issue.. It seems obvious now, but I needed to reference
Property.PropertType.name instead of property.propertytype.name
Thanks!!
Brian
-----Original Message-----
From: rails-bounces@lists.rubyonrails.org
[mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Steve
Koppelman
Sent: Wednesday, March 08, 2006 5:00 PM
To: rails@lists.rubyonrails.org
Subject: [Rails] Re: Displaying related tables in forms.. probably an
easy qu
The fact that you named property_type the way you did with an underscore
makes it especially important that you understand how Rails deals with
na...
2006 Apr 17
8
file upload
This is probably me having an issue with the mvc way of living.. .I''m
used to perl/php scripting...
I''ve got a photo blog I''m making... and in past iterations of this
website, I''d just name the photos after the id of the entry. For
instance:
/photos/id.jpg
/photos/id_thumb.jpg
However, I''m having trouble finding an easy way to do this with rails.