Hi,
I think you have several issues...
srikanth wrote:
> hi,
>
> i am implementing a search box from index page,search box allow s the
> tag name to be searched and it should display the results on the other
> page.
>
> if enter a tag name in search box once i press the search button i am
> get
On Fri, Dec 5, 2008 at 10:50 PM, Jay Mark
<[EMAIL PROTECTED]>wrote:
>
> Well, I am having trouble with this query:
>
> class Author < ActiveRecord::Base
>
> has_many :books
>
> def author_age
>@results = Author.find :all, :conditions => ["age = ?",
> params[:authors]]
> end
> end
>
>
>
> I
Well, I am having trouble with this query:
class Author < ActiveRecord::Base
has_many :books
def author_age
@results = Author.find :all, :conditions => ["age = ?",
params[:authors]]
end
end
I have this on view\authors\show.html
Author Name
Age
<% @results.each do |result|
I have no root permission on the server, only a public_html in my
$HOME.
The http server is not apache; it only support cgi script.
Can I use rails in my public_html?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "R
First thing I would ask is "why?" What is the reason behind the
change?
On Dec 5, 7:14 pm, Jay Mark <[EMAIL PROTECTED]> wrote:
> I am using Rails 2.0.2 with mysql database
> Migrate sets the primary key to id.
> Is it possible to change it to another column?
> If yes, how?
> Thanks for your help
Personally, I'm attempting to move away from plugins to gems as much
as possible (using Rails 2.2.2 right now). However, I have been using
plugins and I did version control them just for simplicities sake. If
you are making changes to it, then definitely you would have to.
On Dec 5, 10:08 pm, "Gr
Rob Nichols wrote:
> Is Rails moving to a pure RESTful design? I don't like REST but love
> Rails. I'd hate to think that as Rails develops it will become more
> difficult to use it RESTlessly.
>
>
> As a RESTless Luddite I hope that Rails doesn't become REST only.
Rob, count me in RESTless clu
do you version control your "doc/plugins" directory? Is one supposed
to be able to re-generate this from the plugins? (I don't see a
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To
The problem is that the responsibilities are not already sorted going in.
Each area belongs_to a responsibility. I have the list of all of the areas,
I want to group them by responsibility, and I want to sort the result by
some field within the responsibility. Currently, I have something like:
@
Thanks Jeff,
I was not very clear in my question.
I would like to do Police.transaction but in conjunction with Product.
But anyway today we redesign our model to make it cleaner.
Thanks for your help.
Rémi
Jeff Cohen wrote:
> On Dec 5, 7:26�am, R�mi Gagnon <[EMAIL PROTECTED]>
> wrote:
>> T
Raul Mosquera wrote:
> I am using Spiceworks, an application made with Ruby on Rails. It has
> some files with .fs extension but i don´t know what are this files and
> with wich tools are generated. ¿Could someone say me something about it?
>
> I attached one of this files.
>
> Thank you.
This
Hi.
I also worked on a wizard but instead of having 'meaningless' name
like "stage" I gave each form a 'real' name, like 'contact' for
contact information, 'demographics' for demographic information and so
on. This allowed me to have clearly defined actions in my controller
(contact, demographics
I am using Rails 2.0.2 with mysql database
Migrate sets the primary key to id.
Is it possible to change it to another column?
If yes, how?
Thanks for your help
Cypray.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message becau
Ed wrote:
> Funny, I had same problem but neede the opposite solution: I copied
> libmysql.dll from msyql/bin to ruby/bin.
>
> Either way, that's a bit less drastic than nuking and reinstalling
> mysql and ruby, so worth trying first.
If you go back to the first post you'll see libmysql.dll was
Funny, I had same problem but neede the opposite solution: I copied
libmysql.dll from msyql/bin to ruby/bin.
Either way, that's a bit less drastic than nuking and reinstalling
mysql and ruby, so worth trying first.
On Dec 5, 7:19 pm, jasoo24 <[EMAIL PROTECTED]> wrote:
> I noticed that you've al
The ordered hash is already sorted by responsibility, so you would
sort each area something like this: (tags removed)
@areas.group_by(&:responsibility).each do |responsibility, areas|
responsibility.name
areas.sort_by{|area| area.name}.each do |area|
...
A style suggestion: make yourself
I noticed that you've already managed to resolve the issue, but I also
had a similar problem upgrading to 2.2.2 and found a quick work-
around. Here is my solution in case others need help (if this doesn't
work, try Jason Smith's method).
If you are having problems with MySQL, getting e
Update: Found this solution on ruby forum:
http://www.ruby-forum.com/topic/171640
Copy the file libmysql.dll from mysql/bin to ruby/bin.
It worked for me. Environment starts and app executes properly in
2.2.2 now. Still get the rdoc error when installing mysql, but it
doesn't seem to affect t
@areas.group_by(&:responsibility).each do |responsibility, areas|
<%=h responsibility.name %>
<% areas.each do |area| %>
...
I see that #group_by iterates through my list of areas, splitting them into
sets according to which ones have the same responsibility.
I would like to sort the result
I just started struggling with the same problem as described in this
thread, starting when I updated rails from 2.1.2 to 2.2.2. My apps
work fine in rails 2.1.2. When I change environment.rb to 2.2.2, boom
they blow up. Error message says:
"The bundled mysql.rb driver has been removed from rai
On Fri, Dec 5, 2008 at 5:09 PM, Petan Cert
<[EMAIL PROTECTED]> wrote:
> I've made a really simple page views counter.
>
> def show
> @post = Post.find..
> addcount = @post.views += 1
> @post.update_attribute "views", addcount
You don't need the extra variable.
@post.update_attribute 'view
Hi all,
I've made a really simple page views counter.
def show
@post = Post.find..
addcount = @post.views += 1
@post.update_attribute "views", addcount
end
Its working fine, but if someone hold the F5 key, it keeps counting and
counting. Which is not a really good. Is there a way how
On Dec 5, 10:42 pm, Fritz Anderson <[EMAIL PROTECTED]>
wrote:
> A further development: If I log
> person.principal.cnetid.singleton_methods, I get "ber_identifier," which
> I assume comes from the string's originating in ruby-net-ldap. What's
> the best way to strip that out?
>
Just dup the stri
A further development: If I log
person.principal.cnetid.singleton_methods, I get "ber_identifier," which
I assume comes from the string's originating in ruby-net-ldap. What's
the best way to strip that out?
-- F
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~-
An action handler (select_person_by_name) in my controller class assigns
into session, and then does a redirect_to. I get the error "TypeError
(singleton can't be dumped):" followed by a stack trace that doesn't
cross my code.
Google tells me this is ordinarily caused by assigning a singleton
ins
Hi,
DiacriticsFu is a gem that relies on ActiveSupport to remove accents
and other diacritics from a string. I use it when I need to generate
urls on non-english-speaking CMS or blogs.
Release 1.0.1 brings support for Rails 2.2+ (patch courtesy of Nicolas
Fouché).
=== installation ===
gem sour
On Dec 5, 3:37 pm, Jonathan Rochkind <[EMAIL PROTECTED]
s.net> wrote:
> There's a part of my code that really needs to get the latest value from
> the database.
>
> But AR in Rails 2 seems to have some kind of caching, so if I execute a
> Model.find statement with the exact same arguments, it won'
Just checked tzinfo_timezone plugin mailing list and found the solution:
Check:
http://rubyforge.org/pipermail/tzinfo-users/2008-December/74.html
Thanks,
Shantanu.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message bec
I don't know the reason behind this problem. I fixed (bypassed?) it by
adding if condition in the tzinfo_timezone plugin's init.rb file.
require 'tzinfo_timezone'
New init.rb file:
# remove the existing TimeZone constant
if Object.const_defined?(:TimeZone)
Object.send(:remove_const, :TimeZone)
(in C:/projects/books/TheatreTickets)
** Invoke db:test:clone_structure (first_time)
** Invoke db:structure:dump (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:structure:dump
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute db:test
This was the plugin I used.
http://github.com/veilleperso/request_routing/tree/master
On Dec 5, 12:56 am, Ram <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Im looking to implement user based subdomains and catch-all routes
> into my app. Can subdomain-fu do this? I followed Ryan Bates'
> railscast on t
On Fri, Dec 5, 2008 at 12:51 PM, Harold <[EMAIL PROTECTED]> wrote:
> The fact that I get no response tells me that nobody is using
> SuperInPlaceControls. What's out there for in place select editing on
> Rails 2.1? Any pointers or comments welcome.
I think if you had a reproducible test case, i
Jeff Cohen wrote:
> On Dec 5, 11:43�am, Brandon Greeley <[EMAIL PROTECTED]>
> wrote:
>> EVENTS
>> specifically that are called something like add_user, delete_user,
>> Should I (b) reuse the user controller code and in "def create" check to
>> Posted viahttp://www.ruby-forum.com/.
> I think you wo
There's a part of my code that really needs to get the latest value from
the database.
But AR in Rails 2 seems to have some kind of caching, so if I execute a
Model.find statement with the exact same arguments, it won't go to the
database, it'll just return the same value it got last time?
At le
Thanks..
On 5 Dez., 19:07, Ar Chron <[EMAIL PROTECTED]> wrote:
> When your save fails, are you re-seeding the @booking_partial value?
>
> def create
> if @booking.save
> # the happy path
> else
> @booking_partial = blah blah blah
> render :action => 'new'
> end
> end
> --
> Pos
Hi,
Question = From within a View, how can I render the text output from a
separate controller action??? (call it graph/get_data)
So it's not a partial, as what I want to do is make a separate call to
get the data to display.
Background = I have a two step process for an ad-hoc report. The
fi
On Dec 5, 7:26 am, Rémi Gagnon <[EMAIL PROTECTED]>
wrote:
> Thank you. But is there a way to navigate that relationship, not by a
> find?
Not sure I understand the question exactly... you can use has_many and
belongs_to to help navigate:
class Police
has_many :transactions
has_many :products
Bump...
The fact that I get no response tells me that nobody is using
SuperInPlaceControls. What's out there for in place select editing on
Rails 2.1? Any pointers or comments welcome.
Thanks.
On Dec 5, 12:50 am, Harold <[EMAIL PROTECTED]> wrote:
> In Rails 2.1, I am using theSuperInPlaceControl
So my final notes as of Dec 05, 2008 to get Ruby, Rails, Mysql working
on
Windows Vista Ultimate x64 edition.
MySQL x64 will work fine on it's own, but not with the latest versions
of Ruby on rails, as the mysql driver is for 32 bit only.
So you have grab an older version[ MySQL 5.0.67 win32(I
On Dec 5, 11:43 am, Brandon Greeley <[EMAIL PROTECTED]>
wrote:
> Hi everyone,
>
> I am trying to strictly adhere to REST and I have a few code
> organization questions.
>
> My database tables are as follows:
>
> USERS
> GROUPS
> GROUP_USERS
> EVENTS
> EVENT_USERS
>
> The relationships are as follo
When your save fails, are you re-seeding the @booking_partial value?
def create
if @booking.save
# the happy path
else
@booking_partial = blah blah blah
render :action => 'new'
end
end
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~--
The DB load on my site is getting really high so it is time for me to
cache common queries that are being called 1000s of times an hour
where the results are not changing.
So for instance on my city model I do the following:
def self.fetch(id)
Rails.cache.fetch("city_#{id}") { City.find(id) }
Hi everyone,
I am trying to strictly adhere to REST and I have a few code
organization questions.
My database tables are as follows:
USERS
GROUPS
GROUP_USERS
EVENTS
EVENT_USERS
The relationships are as follows:
GROUPS have many USERS and USERS have many GROUPS.
EVENTS have many USERS and USER
2008/12/5 Patrick Doyle <[EMAIL PROTECTED]>:
> what would be the good habit I would want use instead?
Short answer:
Solved(mounth/day/year).to_date it's the correct form. Thanks a lot
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, s
On Fri, Dec 5, 2008 at 12:09 PM, Hassan Schroeder <
[EMAIL PROTECTED]> wrote:
>
>
On 5 Dec 2008, at 16:58, Jose vicente Ribera pellicer wrote:
>
> Now it shows me the view but with all the objects :(
>
Have you checked whether your parse_date function is creating the
correct dates?
Fred
> My new code:
>
> CONTROLLER:
> def buscadata
>date1
> =parse_date("#{params[:dia
Now it shows me the view but with all the objects :(
My new code:
CONTROLLER:
def buscadata
date1
=parse_date("#{params[:dia_ini]}/#{params[:mes_ini]}/#{params[:any_ini]}")
date2
=parse_date("#{params[:dia_fin]}/#{params[:mes_fin]}/#{params[:any_fin]}")
if date1 and date2
@lg
Have the same problem.
Is it a bug in Rails 2.2? Did they change something with content_for
or capture/concat methods?
-Szymon
On 23 Lis, 17:20, phil <[EMAIL PROTECTED]> wrote:
> I have a partial that has a couple ofcontent_forblocks in it. Thisworksfine
> if I render it from a view that will i
You can put the user_id in Rails flash which will remember it for
only the next request and then automatically discard it. Your next
request is the "continue_registration" so you can do whatever you want
with it. As a matter of fact, you can pretty much put all the user
data from the first form
Hi,
I'm having a weird problem using git around here (yeah, i know this
isn't a git list, but maybe someone can help me here).
I've followed this tutorial to get a remote branch to work and track
it ->
http://www.zorched.net/2008/04/14/start-a-new-branch-on-your-remote-git-repository/
But it j
I provide a (non-free) sample implementation here:
http://railskits.com/paypal/
--
Benjamin Curtis
http://railskits.com/ - Ready-made Rails code
http://catchthebest.com/ - Team-powered recruiting
http://www.bencurtis.com/ - Personal blog
On Thu, Dec 4, 2008 at 5:05 PM, Ruhul Amin <[EMAIL PROTECT
I am using Rails 2.1 and HAML for some, but not all, of my templates.
All of the self-closing asset tags (, ) output by the rails
asset tag helper methods are not being closed at all, thus rendering my
pages as invalid XHTML. Has anyone else dealt with a similar problem? I
am completely out of ide
> "Where does the "change password" stuff go? new action called
> "change_password"? No! It's an update! Maybe an additional view to
> show
> the form for requesting the change, but the change itself is an update.
>
But then wouldn't you need an extra action (GET change_password) to
display
Sorry, the search is by date no by data
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@go
Hi, first and foremost sorry for my english. I have a pbroblem trying to
built a search by data.
My view is a simple text_field:
<% form_tag ({:action =>'buscadata'},{:class => 'lgn'}) do%>
<%= stylesheet_link_tag "show" %>
Busqueda por fechas de LGN
<%='Introduzca Fecha inicial (DD/MM/A
AFAIK the RESTful part is unrelated to the view part.
REST should deal with resources only, so:
/documents should return an index of all docs,
/authors should return an index of all of them,
then an association should be created when POSTing to /authors/
id_from_right_pane/documents/id_from_left_p
Hi..I need some advice:
A formular which includes 3 partials
The partial will be chosen by userinput stored in a session
Controller:
def new
@booking = Booking.new
@booking_partial = partial_choice(session[:pre][:fahrt]) # 1,2 or 3
this works fine, but if the validation fails the partial
On 5 Dec 2008, at 14:02, Adam wrote:
>
>
> The view works but the test fails.
>
You need to work out why. stick a breakpoint in the action (or in
whatever before filters may be relevant) and see what happens
Fred
> Thanks in advance,
>
> Adam
> >
--~--~-~--~~~---
I want to pass the params collection from the controller to the model to
parse filtering and sorting conditions. Does having a method in the model
that takes the params from the controller break MVC?
--~--~-~--~~~---~--~~
You received this message because you are s
why you don't use distance_of_time_in_words()?
you can rewrite maybe this method in a helper and customize.
--
___
http://www.sindominio.net/ayuda/preguntas-inteligentes.html
http://cronopios.net/Traducciones/trolls.es.html
Gnu/Linux count user #4160
Hi, I don't know specifically how many is your "large set of data".
100, 1000, 1, 10 rows? For me this gem works fine with more or
less 3500 rows to parse from an excel file.
good luck!
--
___
http://www.sindominio.net/ayuda/preguntas-intelige
Hi,
I'm really struggling getting a controller test to pass while the form
that uses the method operates correctly.
I would really welcome a second pair of eyes to help me find out what
I'm missing.
The test
def test_set_password
@request.session[:user] = users(:admin)
put :set_pass
I have been using FusionCharts. There is no gem, but I have a blog post on
how to get started:
http://forecasthorizon.blogspot.com/2008/07/fusion-charts-with-ruby-on-rails.html
.
The post is on a line chart, but it is very easy to do any number of charts
using FusionCharts. And you do not need to
On Dec 5, 10:02 pm, Günther Lackner <[EMAIL PROTECTED]>
wrote:
> Hi!
>
> I need to calculate the difference between two Datetime and convert it
> into minutes.
>
> diff = Time.now() - my_date
>
> How can I convert diff now into minutes?
>
What class is my_date ? (my_date.class)
Is it DateTime, o
Thank you. But is there a way to navigate that relationship, not by a
find?
> I think the design is fine, actually. If I understand correctly, your
> transactions table has columns police_id and product_id (and others).
>
> If so, you can find a transaction this way:
>
> Transaction.find_by_p
On Fri, Dec 5, 2008 at 4:50 AM, Thorsten Müller <[EMAIL PROTECTED]>wrote:
>
> this one requires prototype (for textfield with id "searchtext"):
>
>
>$("searchtext").focus();
>
>
Thank you. That did it (for me with Firefox).
--wpd
--~--~-~--~~~---~--~~
Y
Vasanth,
You can download it from
http://github.com/pullmonkey/open_flash_chart/tree/master. Just copy the
downloaded folder under vendor/plugins and you will be ready to go.
On Fri, Dec 5, 2008 at 4:22 PM, CSK Vasanth <
[EMAIL PROTECTED]> wrote:
>
> Hi Jaikishan,
> The site you gave was good. B
theoretically it could be done using the Rmagick 2D drawing methods,
although i'm sure there's probably a better way
On Dec 5, 10:52 am, CSK Vasanth <[EMAIL PROTECTED]>
wrote:
> Hi Jaikishan,
> The site you gave was good. But how to install Open Flash Chart plugin?
> where can i find the Gem file
Hi,
I ve got oracle database which exists prior to my rails app... :-(
I ve got trouble when I am updating/inserting records of a table which
includes nvarchar2 attributes.
These have a specific maximum length.
I often get an error Value too long for column when doing my inserts/
updates, but i
On 5 Dec 2008, at 01:09, Miguel Angel Hernández wrote:
>
> Thanks Fred I have the same problem.
>
> How can I do that?
find lines including that statement. delete them.
>
>
> thanks.
>
> On Dec 4, 3:04 am, Frederick Cheung <[EMAIL PROTECTED]>
> wrote:
>> On Dec 4, 7:17 am, "Jaikishan Jalan" <[EM
> Does that work for you in Internet Explorer? It didn't for me. I'm
> currently using a partial to hold my form-focus JavaScript and I pass
> it the ID of the field I require focus for.
Sorry, can't say for sure. At least not after reading the thread you
linked.
If I got this right, the problem
On Dec 5, 10:50 pm, Thorsten Müller <[EMAIL PROTECTED]> wrote:
> this one requires prototype (for textfield with id "searchtext"):
>
>
> $("searchtext").focus();
>
Does that work for you in Internet Explorer? It didn't for me. I'm
currently using a partial to hold my form-focus JavaScri
Hi!
I need to calculate the difference between two Datetime and convert it
into minutes.
diff = Time.now() - my_date
How can I convert diff now into minutes?
Best regards
lacky
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this m
Hi Jaikishan,
The site you gave was good. But how to install Open Flash Chart plugin?
where can i find the Gem file for that? I have to install the Gem file
here in both Windows (development) and Linux (production) environment.
I tried this
"ruby script/plugin install
http://svn.pullmonkey.com
On 05 Dec 2008, at 11:21, balaji rajagopal wrote:
> I follow ur way and i used the above code but i got the bugs
>
> can't convert nil into String
Well, if an application gives you an error, it usually wants to say
something. In this case it expected a string, and got a nil. You
didn't i
Hi there,
I would like to add contacts from my application to directly in my
facebook and myspace friends list using ruby on rails.
If any one has any idea, kindly suggest or send me sample code at
[EMAIL PROTECTED]
I am able to link with facebook using plugins and I can fetch my
profile detail
There's a PDF book on this:
http://www.pragprog.com/titles/jfpaypal/payment-processing-with-paypal-and-ruby
-FDj (No affiliation with PragProg or the author)
On Dec 5, 2008, at 2:05 AM, Ruhul Amin wrote:
>
> Hello experts,
> In my rails project I have to integrate paypal payment
Backgroup:
Customer has many old documents(just some scanning pictures) and want
to store them into computer,we need to input the doc and relate them
to the existing authors in DB.
Key works: document;author
UI of document input page:
left side is the document input form
right side is the author
Hi
I follow ur way and i used the above code but i got the bugs
can't convert nil into String
code
-
class WizardController < ApplicationController
def wizard
if params[:stage].nil?
# @stage = 1
hi,
i am implementing a search box from index page,search box allow s the
tag name to be searched and it should display the results on the other
page.
if enter a tag name in search box once i press the search button i am
getting error like:
ActiveRecord::RecordNotFound in StreamsController#sho
most likely you want to use the ActiveMerchant plugin.
I havent done this with paypal yet, but there are loads of
information on this on the web
google: ActveMerchant paypal
http://wiki.rubyonrails.org/rails/pages/Active+Merchant+PayPal+Tips
http://www.coryperry.com/2008/01/18/setting-up-paypal-w
I had this problem. My solution was to copy libmysql.dll from the
MYSQL installation to ruby/bin.
The irb led me to this solution.
Scott
On Nov 25, 3:25 pm, Frederick Cheung <[EMAIL PROTECTED]>
wrote:
> On 25 Nov 2008, at 14:04, Wally Valters wrote:
>
>
>
> > if you fire up irb and try require
this one requires prototype (for textfield with id "searchtext"):
$("searchtext").focus();
without prototype it would be something like this:
document.formname.fieldname.focus();
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Mark Reginald James wrote:
> If you use MySQL, the "field" function allows you
> to retrieve records in a specific id order:
>
> http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/158dc2d879b2fb1/af78ce75ddfa1ed1
>
> --
> Rails Wheels - Find Plugins, List & Sell Plugins -
> ht
On 05 Dec 2008, at 09:00, balaji rajagopal wrote:
> i use various forms and one controller.
>
> view code
>
> <% form_tag :action => 'wizard', :stage => @next_stage do %>
---
> controller code:
>
> def wizard
> if params[:stage].nil?
> ...
> elsif params[:stage].to_i == 1
> ...
>
hi,
i am trying for parsing an excel file using parseexcel.
it works fine for small set of data containing excel file.
but it not work properly on large set of data, and throws error.
spreadsheet also cause same error.
can anyone provide any alternative or some other technique.
On Dec 5, 5:30 am, Daniel <[EMAIL PROTECTED]> wrote:
> I have one problem when I create the index page.
>
> I have wrote following in index.html.erb:
>
> All Blogs
>
> <% @weblogs.each do |page| %>
>
> <%= link_to page.title, weblog_path(@weblogs) %>
>
> <% end %>
>
>
>
On 05 Dec 2008, at 06:35, Karthi kn wrote:
> I have started exploring on Rack. But still, I am not able to find the
> exact usage of the 'Rack'. I want to create a sample application with
> Rack. Can anybody guide me in this? Can you explain the advantage of
> the
> Rack? And can you provide so
Thanks Fred I have the same problem.
How can I do that?
thanks.
On Dec 4, 3:04 am, Frederick Cheung <[EMAIL PROTECTED]>
wrote:
> On Dec 4, 7:17 am, "Jaikishan Jalan" <[EMAIL PROTECTED]> wrote:> Hello,
>
> > Not sure what is causing this. Any pointers?
>
> cache_template_extensions has been remo
Hi all,
I have some doubts in running test cases for a ROR application.
If I create the test DB structure manually and run the individual
tests , they are working fine.
But when I use rails_rake and run all the tests together , the DB is
is getting dropped all together and the tables are genera
Hi
i use various forms and one controller.
view code
<% form_tag :action => 'wizard', :stage => @next_stage do %>
controller code:
def wizard
if params[:stage].nil?
...
elsif params[:stage].to_i == 1
...
elsif params[:stage].to_i == 2
...
elsif params[:stage].to_i == 3
..
elsif params[:st
Thanks! However, it seems that specifying the installation path with
gem install rails worked for some reason
/Jakob
On 5 Dec, 09:37, "Conrad Taylor" <[EMAIL PROTECTED]> wrote:
> On Thu, Dec 4, 2008 at 11:37 PM, Jakob <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > I've just a new macbook and I ne
On Thu, Dec 4, 2008 at 11:37 PM, Jakob <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I've just a new macbook and I need to work with rails 2.2 and not the
> version as installed with leopard. I updated gems to 1.3.1 without any
> trouble (using gem update --system) but when i try to install rails
> w
I have used Open Flash Charts. Try referring at pullmonkey.com . It has some
good samples to get started.
On Fri, Dec 5, 2008 at 1:49 PM, CSK Vasanth <
[EMAIL PROTECTED]> wrote:
>
> Hi Everyone,
> Can anyone tell me how to draw a bar chart in Rails? Is there any
> in-built method in Ruby on Rails
Hi Everyone,
Can anyone tell me how to draw a bar chart in Rails? Is there any
in-built method in Ruby on Rails (or) should i go for 3rd party plugins?
I searched and came across this "open flash chart" - i don't know how to
customize it according to my requirement.
PS: I have attached my require
Hi
i use various forms and one controller.
view code
<% form_tag :action => 'wizard', :stage => @next_stage do %>
controller code:
def wizard
if params[:stage].nil?
...
elsif params[:stage].to_i == 1
...
elsif params[:stage].to_i == 2
...
elsif params[:stage].to_i == 3
..
elsif params[:sta
98 matches
Mail list logo