Displaying 20 results from an estimated 67 matches for "sindhwani".
2006 Jul 22
4
Reading floating points into a field stored as Integers
Hi, I''m trying to follow the "AWDR" example of storing certain types of
numbers (in my case, percentages not money) as integers in the
database. I understand from the Depot application how to format the
output to have 2 places (or n places for that matter) decimal.
Now, I"m wondering about the input. It''s more natural for people to
enter numbers as
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.
2007 Sep 09
4
InstantRails - command "rails" does not work
Hey,
I installed InstantRails 1.7 (on Windows XP Home). I unzipped it with
7-Zip in D:\InstantRails (no spaces in pathname + short pathname) to
avoid UnZip-problems. I followed the installation instructions. The
cookbook-example works fine.
But when I want to create an own project with "rails projectname", my
computer says something like "The command "rails" is either
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 13
3
Render nothing; go nowhere
I am building an application that requires a C++ program to access the
Rails web application using POST. Now, I just added user authentication
to the mix and it has made things more interesting.
I''m using basic authentication as shown in the AWDWR and Rails Recipes
books. I can now get my C++ program to submit the user credentials to
the login/login page. All I want the login page
2006 Jun 25
6
Understanding Common Views
Hi Everyone,
I''m trying to formulate my thoughts on how views work in RoR and I
understand the basic bits -
1. Every controller has its own view defined using rhtml files in the
views/[controller_name] folder.
2. There is one "view" file (rhtml) for every in the controller and has
the same name as the method.
3. For portions that are common, partials can be used - file
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 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
*
2007 Apr 01
17
Retrospectiva - Web project management on Rails
Hi!
For those who are not following the announcements on my blog (yet), a
second release candidate of Retrospectiva v1.0, which I already expect
to be production-ready, has been released recently. To get the
application even more stable I would like to invite all of you to join
the tests.
For more information, please visit http://www.retrospectiva.org.
Dimitrij
PS: If you don''t even
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''],
2007 Apr 27
5
Reading e-Mails
Hi,
I am new to ActionMailer, need to read incoming mails using rails
ActionMailer, dont know how to do it.. also need to track bounced mails.
Can anybody help me pls.
Thanks
Muralimaran Kumar.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
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 Jul 04
4
Image don''t show up when i run my Rails with webrick server
can yah help me, i need to fix this...
--
Posted via http://www.ruby-forum.com/.
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 Oct 21
3
Extremely good collection: All the 8 Audio Files on How to Win Friends & Influence People By Dale Carnegie
Links for all the 8 audio files given in the latest post in the
Audiobook-Share section.
--
With warm regards
P K Kothari
http://audiobook-share.blogspot.com
http://career-ebook.blogspot.com
http://collection-share.blogspot.com
http://ebook-share.blogspot.com
http://management-article.blogspot.com
http://finance-personal.blogspot.com
http://powerpoint-presentation.blogspot.com
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 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
2009 Jun 05
15
Rails Code Indentation
Hi All,
Rails code must be readable, formatted and well indented.
I wanted to do indent code in my previous projects.
Is there any built in rails plugin/gem that can help me to
indent my existing code.
Any ideas will be really appreciated !
NOTE: Please don''t suggest editor plugins.
Thanks & Regards,
Sandip R~
--
Ruby on Rails Developer
http://sandip.sosblog.com
2008 Nov 09
3
Book Recommendation for fast drop into webdesign
hello,
I did some web design quite a while ago and now i have some time to get
back into it but i want it as fast as possible and what i''m really
lacking is some good resource how to restart.
it''s like that i need the general html design patterns plus css in an
accesible way.
then i want to go dymanic with ruby on rails.
i couldn''t find any book that is not mainly
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