Displaying 17 results from an estimated 17 matches for "foundinteract".
2006 Jun 25
3
Dummy field in a model
I want to have a field in model, which I''m not storing in a database.
And I want to do something like the following in the model code :
validates_format_of :field_NOT_in_db, :with => session[:field]
How can I do it ?
Thanks,
Pratik
--
rm -rf / 2>/dev/null - http://null.in
2006 Jun 26
8
[Semi OT] BlindDown and a floated div
I am using the drop shadow technique described at
http://www.1976design.com/blog/archive/2003/11/14/shadows/ to give
several of my divs drop shadows. That part works fine.
What doesn''t work so well is when I try to BlindDown a div in Firefox
and it ends up ignoring the content below it and just overlapping it.
In IE this problem does not occur. In Firefox the overlapping does
2006 Jun 23
3
Ajax errors in safari
I am implementing some AJAX features into a web forum, and one feature
works fine in Firefox and in IE, but it is choking in Safari. Safari
will send the request fine and the data will be stored in the DB, but
it is not responding correctly to the RJS that is being sent back.
Anybody notice issues with Safari parsing the javascript sent back to
the browser?
--
Timothy Johnson
2006 Jun 26
5
Multiple choice questions scaffold?
Hello all,
I''m in my second day of working through the various Ruby on Rails
tutorials, I''m already hugely impressed by the potential speed of
developing database driven sites, especially via the use of scaffolds.
Which brings me on to my first question (apologies if it''s a simple one,
but like I said it is only my second day!)
I am aiming to develop an application
2006 Jun 26
13
Why no forum app in rails yet?
Hi Guys,
So creating a forums application seems like something that rails can
handle easily and well, and whatever implementation that came to
fruition would be head and shoulders above existing products like
vBulliten and phpBB.
Even the existing rails forums are using php-based forum products! An
insult if you ask me.
So my question -- is there any current development of a rails-based
2006 Jun 26
10
Create tables on the fly in rails?
Hello everyone :) Love the mailing list! I read it as much as I can!
Thanks all you RoR guru''s for providing so much help.
Anyways... So say I have Users, and each user can have a list of Plants
that they like. I would want to give each user a table that has many
entries to show me which plants they like. How could I do this?
I don''t know if there''s a way to do
2006 Aug 16
0
2 models with multiple relationships
...these
relatioships seemless? Should I use single-table-inheritance with the
User in order to give users specific roles (even though sellers and
managers need to have all the same priviliges as buyers, so it could end
up conflicting that way too).
Thanks for all your help.
Timothy Johnson
www.foundinteractive.com
--
Posted via http://www.ruby-forum.com/.
2006 Aug 16
2
What would the ideal server setup be?
I have one dedicated server for all my various projects (both PHP as
well as Rails) and will be getting a second server to run only the Rails
apps on.
What is the ideal server setup in terms of RAM vs. Processor Speed (more
RAM or more processor speed?) and should I use Apace, lighttpd, mongrel,
or what?
I''ve got the money to afford something pretty solid...just don''t know
2006 Aug 16
1
Westhost VPS opinions
I''m looking for a RoR VPS with mySQL, mongrel, apache, and possibly PHP.
Westhost has some really darn nice pricing for VPS. Anyone have any
opinions?
I''m looking at something that will scale with our needs. Not
necessarily the cheapest, but something with good value. However, we
are in a bootstap situation.
Thanks.
--
Posted via http://www.ruby-forum.com/.
2006 Aug 16
3
Easiest way to create a google map mashup?
I wanted to add a mash up to my website and was wondering if there were
any recommendations? I saw that there is a cartographer plugin
(http://cartographer.rubyforge.org/) and also something else called YM4R
(http://wiki.rubyonrails.org/rails/pages/YM4R).
I have no idea if they are up to date or not or whether this is
currently the easiest/best way to go about it short of rolling your own.
2006 Jun 26
5
Automatic Caching?
Hello,
I have a big controller of about 1000 lines and whenever I make changes
to views the browser does not show the updated code. I am running in
development mode which makes it all more confusing.
This happens in both rails 1.0.0 and 1.1.2 and both in ruby 1.8.2 and
1.8.4.
It also happens for fcgi and scgi. Also for apache, webrick, and
mongrel. At this point I have no idea what is going
2006 Jun 25
3
Working alone on a webapp
Do you design first the develop? Develop first then design? Do both
simultaneously?
Just curious, because I''m working on a site right now doing a little of both
at the same time.
--
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060625/81423f85/attachment.html
2006 Jun 23
10
Don''t un-admin the last administrator
I have a User class with a field called admin which is a boolean that
determines if the user is or is not an administrator. I want to make it
impossible for the last administrator for an account to be removed from
the system.
I need to protect against this both when deleting a user and when
editing a user as you can revoke a user''s administrator privileges via a
form.
User
2006 Jun 26
7
Using Rails to Generate static pages
Hi all,
Has anyone ever thought about or implemented a way to use Rails to pull
content from a database and actually *generate* static html pages from view
templates?
I want to throw a bunch of content into a db using rails and then put all
my website templates into the views dir and write the files out with the
content inside.
The funny thing is that the html pages Rails normally outputs to
2006 Jun 24
6
Ajax fade effect
I have a list of categories, when I delete one of them, I want that item
to fade and then get removed. So I do the following:
1. home_controller:
def delete
@category = Category.find_by_name(params[:name])
@element_id = @category.name
Category.delete_all(["name = ?", @category.name])
end
2. delete.rjs:
if @element_id
page.visual_effect :fade, @element_id
2006 Aug 16
15
OT: finding a designer (bit of a rant)
I''ve written my app already. It outputs valid xhtml and I need a stylesheet
to drop over the top. How hard is it for people to understand that?
It''s a small project, they''d have to do the main design/layout, and then a
little custom styling for some specific elements which don''t appear on every
page. That''s the point of CSS right? write once, use
2006 Jun 24
32
Why is there no Smalltalk-like IDE for Ruby?
I posted this to comp.lang.ruby and comp.lang.smalltalk, and my blog.
I will likely get destroyed, but it will be worth it if at least one
nugget of information helps the Ruby IDE makers.
-----------------------------------------
Hi all --
I shout my question to the entire Ruby + Smalltalk community: Smalltalk
has had amazing IDEs for decades, why not Ruby? Smalltalkers, Ruby
needs your help!