Displaying 9 results from an estimated 9 matches for "lukreedpath".
Did you mean:
lukeredpath
2006 Feb 18
4
verifying best practice
i have a Project model, which belongs_to :user
when i add a project, the users_id is based on the session[:users_id].
to get the users_id into the projects table, i''m doing this:
@project = Project.new(params[:project])
@project.users_id = session[:users_id]
this is working, i''m just verifying this is the best way to do it.
2006 Feb 19
4
is "display" a reserved name of some sort?
A view display.rhtml sees no controller state variables set in the
corresponding display action. Why?
-- fxn
2006 Feb 19
2
How far can you get without learning Ruby?
This has been my little experiment for the last few weeks. I jumped straight
into rails after a few tutorials and have been using "Agile Web Development
with Rails" as a reference. I picked up the Ruby syntax from examples which
was not hard to do as I know various other languages. I''ve started 3
database driven web apps and all was going really well. Rails is fun and
2006 Feb 18
1
Premature end of script headers:....dispatch.cgi
Hi all,
I have a working ruby app that I developed on Window and I am trying to
deploy it on Linox with Apache. The hosting company generated for me an
empty rails app and I just replaced the files that I modified in my app
(only rb/rhtml/css/js files).
In addition I updatd the database.yml but now I am getting either page
not found or
Application error
Rails application failed to start
2006 Feb 18
4
validate against spaces
How would I go about validating against spaces (for urls)
Instead I wish to use dashes.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 18
3
Easy Newb Question
OK, so I have a link_to_remote. I am too dumb to figure out where I can
set a css class or id attribute.
<%= link_to_remote("X", :url => { :action => :destroy, :id => message },
:confirm => "Delete ''" + message.title + "''?",
:complete => "item_removed(''item_" + message.id.to_s + "'')") %>
2006 Feb 17
7
Rich Text Editor (RTE)
Hello,
We are developing an commercial application that need to use an RTE.
Someone know one RTE editor that can I use in an commercial application?
We need basic functions to format paragrapher, bold, italic, ...
I found FCKEditor but it is very expensive and weight.
I found this list too but don''t know what is trustful:
http://www.geniisoft.com/showcase.nsf/WebEditors
Some
2006 Feb 18
4
Basic question: Where to initialize a flag?
I have found that if I initialize a flag in my controller (under def
Initialize), it appears everytime I call a controller action, the flag
is set to the initialize value (even though I''m not calling the
initialized action). Am I observing this clearly?
I don''t think I should initialize a flag in the index file. So where?
Specifically, I want to know if this action is a
2006 Feb 14
22
Teaching Models to Render Themselves in the Controller
I am trying to teach my models how to render themselves, i.e.
<%= my_model_object.render() %>
Let me explain my reasoning and proposed method before this gets shot
down as anti-MVC.
Let''s say I am writing a contact-management application. I have a
class Contact. I will need to display this class all over the
application. My first choice is to use a partial.
Now I can