Displaying 20 results from an estimated 35 matches for "mo_mail".
2006 Aug 14
5
Tutorial for Queries
Hi! I''m looking for a good tutorial that explains the main points of
performing queries with Rails. I do have AWDWR and have read the
section on ''find'' but I''m looking for something that goes into more
detail on how to perform queries across tables.
Abstracted from my current application, this is an example:
* person has_many sites
* site has_one room
*
2006 Aug 07
8
Syntax Problem
In an *.rhtml, why do I need to add <% for product in @products %> in
order that I may call an <img class="list-image" src="<%=
product.img_url %>"/>. Is there not another way to skip the "for
product" line? I really dont want to include it. I tried @products =
product but it does not work. Can anyone help shed light on this matter?
--
Posted via
2006 Aug 16
6
Photo Albums?
Hello all,
Can anyone recommend any free(ish) Ruby photo album components?
Preferably something with a user structure built in.
Cheers.
--
Posted via http://www.ruby-forum.com/.
2006 Apr 28
7
acts as drop down
Hi
Im using the acts as drop down plugin
and have this code below
acts_as_dropdown :text => "forename", :order => "forename"
It currently makes use of the forename in the option tag, how can I get
it to use the surname as well
ie somthing like ''forename'' . ''surname'' in php
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Jul 28
8
Building a Search Page as part of CRUD
I''ve been experimenting with Rails over the past couple of days and
have come across something that seems harder than it should be. In
previous frameworks I have used (WebObjects, php) a full search page
(which leads into a list view populated with search results) was part
of the CRUD that was either dynamically or statically created after
specifying table/object schema. In
2006 Aug 09
10
Next/ Previous record
Hi, Quick question (which means that I think there should be an easy
answer)...
When I am in the "show" view, I''d like to add 2 links, one for previous
and one for next record so that the user can go on to the next "result"
without having to go back to the ''list'' of results. However, I can''t
find my way about this problem :-S
2006 Aug 05
3
Four Days on Rails
I''ve been reading the tutorial and I have problems with the TinyInt(1) for the attribute "item.done". I thought this thread would be the best to post it. I''m using Rails 1.1.14. When in the partial template _list_stripes appears:
<%= list_stripes["done"] == 1 ? show_image("done_ico.gif") : " " %>
it always returns the
2006 Jun 28
2
Ruby/ RoR for Windows app + Web
Again, I find that I''m stumped trying to concisely attach a subject to
my query... Sorry about that :-S
Also, I apologize if the query is a bit off-topic, but I hope that it is
relevant!
Anyway, the recent thread about the "Ruby CronJob" got me thinking. We
have an application that requires to read data from a device connected
to the serial port of a Windows machine. The
2006 Aug 07
12
web app or ''real'' app
Hi there,
Is a web app always preferable to a ''real'' app?
- or are there times when a real app should be used?
I''m starting a new app and can''t decide which would be best.
Is Ruby (not RoR) suitable for a real app?
Chris.
--
Posted via http://www.ruby-forum.com/.
2006 Jun 09
5
ActiveRBAC?
How''s the experience with using ActiveRBAC? For my "next 4 days with
rails" :P I''d like to consider adding Role-based access to the To-Do
List application in the original "four days w/ rails" tutorial.
Just wondering if ActiveRBAC would be a good place to start? Thanks!
For those who are wondering: https://activerbac.turingstudio.com/trac
Cheers
Mohit.
2006 Jul 29
4
good css based website layouts for download???
Just wondering if anyone knows of a site where one could review a number
of website layouts (which use CSS concepts) where you could then select
the one you want and then just download the template HTML and CSS to
import directly in your application.
i.e. Gives you a decent overall look and feel straight away and then you
can concentrate on your actually dynamic application aspects.
Cheers
2006 Jul 31
4
Login Password text field values
I have a text field that I use for logging in users. Due to the design
of my site, I don''t have room to put the word "username" in front of the
text field so I''d like to actually display it inside the field and then
have the word clear when the user clicks on it.
How could I modify something like this
<%= text_field "user", "login", :size
2006 Aug 07
4
Problem with Pagination
Hi Guys,
I am trying to paginate the results from a search. When I use actual
constants in the search conditions, it works fine:
def query
@k2_result_pages, @k2_results = paginate (:k2_results,
:conditions => [''e_date >= ? AND
e_date <= ?'', ''2006-07-12'', ''2006-08-12''],
2006 Aug 14
2
Change password
Is there an addition to the Rails Recipe or the method in AWDWR to allow
a user to change his/ her password? I have put something together that
does all the work again - mostly because I''m not sure how to leverage on
methods like ''password='' that are defined in the model. Has anyone got
a ready sample that I could learn from?
Right now, I''m basically
2006 Jun 13
8
Joins or relationships ?
I have a table called Post (not the actual name) where users input various
piece of information, Most of the input is done by dynamic select''s (drop
downs).
As an example:
User would choose
Field: Input: Values that go into
Post table
Category Full Time 2
Length 45 Days 4
State
2007 Apr 28
4
Installing RoR on PenDrive
Hi,
I''m a very noob ror programer (i''ve started yesterday), but for my live,
i''ve pass all the day going up & down, and in order to have a constant
learning, i want to install ruby on rails, mysql, mysql-front, and
RadRails on a 512mb PenDrive.
I''ve followed these steps:
1) Download latest RubyOnRails windows installer.
2) Execute it settign the path to
2007 Mar 27
18
Textile Editor Plugin v0.1
The Textile Editor Helper (TEH) is a Javascript-based text formatting
toolbar that will be added to all of your text areas that utilize the
TEH feature. TEH was developed to provide a more WYSIWYG-ish option
for users of our Rails CMS called slate while still letting us use
Textile.
======================
= So what are the features?
======================
These are a list of the current features
2008 Jun 20
4
Handling content pages (CMS-like)
Hello list,
I wonder how you guys handle content pages? Often described as "static"
pages.
However, I don''t like to call them "static" because these pages often do use
some minor dynamic content.
This is what I like to think of as the "website" part of the web
application. Content that does not have complex logic behind it.
I had to handle it in the
2006 Jul 25
12
DRYing - similar named fields, etc.
I''m sorry - just couldn''t come up with a subject that describes the
problem :(
Anyway, this is my problem. I have a long list of fields that need to
be displayed when a ''show'' is requested on the controller. I''m now
doing the list.rhtml and looking for a DRY way to do the following.
For each data item, I have 2 fields - one is the item name, the
2006 Jul 19
12
[Slightly OT] POSTing data to a Rails App
Hi, I have a Windows program that collects data and would like to store
this data in a database that is usually accessed through Rails.
It was recommended that I try to "POST" the data to the Rails
application. I''m running into some problems trying to format my POST
string for the application. I''m trying to learn by interfacing to the
TODO application (Four Days