Displaying 20 results from an estimated 23 matches for "hatlessnyc".
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 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 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 Mar 29
7
Uploading files and writing them to server?
Where should I look for information on how to use Rails and Ruby to
accept the upload of a file and then to save that file to the file
system of my server?
I''m reading the "Uploading a file" section of Agile Web Dev with Rails,
but it''s geared toward saving the file in the database.
Any advice?
Thanks,
Jeff
--
Posted via http://www.ruby-forum.com/.
2006 Jun 23
2
Draggable question
Should / will a drag and drop work on a form element (select menu,
text box, etc), and more specifically is it simply a matter of
defining a new draggable and setting it to the id of the element, or
do I need more voodoo in my mojo :) to accomplish it ?
TIA
Stuart
2006 Mar 29
2
delete_all not resetting auto incement in database
Hey
I''m writing a simple admin interface thats reading user data (skills)
from a comma separated file.
To clear the database before inserting new skills, I use
Skill.delete_all
Then I insert the new values I read from a file. Everything goes well
up to the point where I see that auto-generated ID''s are not starting
from 1. They start off at 840 (responding to the number of
2006 May 16
4
Date/Time Quick Add
I am building a small app that reuires some clever text pattern
matching...
In my controller, I''ll have a string that I will want to parse out to a
datetime and a message, a la Google Calendar Quick Add.
Examples:
10/30/2006 7pm message
10-30-96 7:00 pm message
10/30/2006 19:00pm message
...
You see what I''m getting at. For a v1.0 release, I CAN publish some
standards for
2006 Apr 16
7
table sorting
Ahoy,
I checked the API and did some forum searches but didn''t find anything
good on table sorting.
Is there a "railish" way to do this? My current method really is lacking
(i''m on like rails day 2)
<th><%= link_to ''Name'', :action => ''list'', :order => ''name'' %></th>
2006 Apr 04
4
Membership Management System Plugin/Gem?
Hi, I''m looking to create an online internet community for managing
user profiles and other data. Thus, I would need that has the
following features:
o authentication
- protect individual member pages/directories
o session management
o retrieve and reset passwords
In short, I''m looking to create an online community. Thus, can
someone direct me to a plugin(s) for
2006 Apr 08
5
Sending email on Windows
Hi!
I''m developing a different kind of Rails app. It''s an email client
*built on RoR *which users can download and use. It''ll look and feel
like a standard webapp, except that the server will be run locally
(maybe webbrick).. Basically, the idea is that:
* Web based apps are easier to upgrade, use etc.
* But people need to have their email and other stuff on
2006 May 02
9
Visual Migration Design Tool
For a really long time, I''ve been using DBDesigner from FabForce.net.
For those of your who''ve never used it, its a freeware visual
entity-relationship diagram tool, which allows you to make database
designs visually instead of in SQL DDL. You can then use it to generate
the SQL to make your databse design into reality, or even run a
"synchronize" to make any
2006 Mar 29
10
newbie question
Hi, I am new to Rails, I followed the cookbook tutorial, it worked fine, but
when I started another tutorial called todo :
when I type : http://127.0.0.1:3000/todo/new
I get this error :
Routing Error
Recognition failed for "/todo/new"
please help me.
--
View this message in context: http://www.nabble.com/newbie-question-t1359958.html#a3643454
Sent from the RubyOnRails Users forum
2006 Apr 19
5
Apache, Rails, FastCGI, Ruby, slow
I''m running Windows XP Pro on a not-so-new machine, Pentium 4 2.4GHz
with 512 RAM. I''ve got Apache 2 installed and I''m using FastCGI to run
Typo in development mode while I design a theme for it. But it''s slow,
very slow.
Inconsistently slow. If I reload a page, sometimes it happens pretty
quickly. Sometimes it takes more than a minute. Sometimes it
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 May 17
13
Using NTLM for S.S.O. in Rails
Greetings all,
To all the good souls that happen to know NTLM and Rails....
Short version:
--------------
- I''m looking for server code to extract credentials through NTLM dialog
with the client (IE)
- I found nothing usable/useful (as they both implement the client side
code) in
- rubyntlm on rubyforge
- lib ntlm-ruby by Jonathan Bastien-Filiatrau
LONG version:
2006 Apr 17
18
The lone PC in Raleigh
Last week I had the pleasure of attending the Raleigh area Ruby users Meetup.
It was very interesting and very informative.
I did feel a bit out of place when we noticed that of the 11-12 people
there, I was the only one with a PC laptop. The rest were shiny macs.
Ah well, I need to replace this thing soon, and now that BootCamp is
out, I really have no more excuses. This way I can test
2006 May 05
31
The perfect development environment?
I am trying to create the perfect development environment for rails
and i dont know exactly which way to go. Do i create a windows
environment or a *nix environment. If i go *nix, what distro is best
suited for rails. I would be using mysql, so that would come in to
play. If i go *nix, i would use apache. Any ideas for the right
environment would be greatly appreciated. I guess the major choice is
2006 Jun 23
0
Overriding a file_column attribute in model
I have a user model subclassed into Employees and Managers using STI. I
am using FileColumn to manage images, in this case logos. If an Employee
doesn''t have a logo of its own, I want my app to use the Manager''s logo
in views.
I did the following in models/users.rb:
-------
class User < ActiveRecord::Base
file_column :logo
end
class Employee < User
belongs_to
2006 May 01
0
Same .rhtml and partial in mailer and non-mailer contexts
I have an ActionMailer template that properly generates HTML email. It
contains a partial.
The mail action was called via the following in my controller:
def cmasend
@cmaform = Cmaform.find(params[:id])
Mailer.deliver_cma(@cmaform)
flash[:notice] = ''CMA Sent.''
redirect_to :action => ''list''
end
Then, in order to allow a
2006 Apr 03
0
file_column and adding/changing :versions
I''m using file_column 0.3.1 and I recently installed RMagick on my
machines, so I''m adding the :versions resizing functionality to my
models.
I quickly noticed that resized versions are only being created for newly
uploaded images, and that no magicked versions get created for existing
images. I thought file_column would be smart enough to generate
:versions as needed.
Has