hi guys,
Using breadcrumbs on rails (http://github.com/weppos/
breadcrumbs_on_rails), I have added a method, set_breadcrumb in my
application controller.
That will set up my home breadcrumb.
In my other feedbacks controller, I have the same set_breadcrumb
method (in a before_filter). The
I am working on a project that has some complex table associations,
and I am having a hard time declaring this association in a Model, and
fear it can't be done.
Here is an example of my issue...
class StoreType ActiveRecord::Base; end
class Store ActiveRecord::Base; end
class Department
Hello all,
I'm a newbie to Ruby/Rails world, and also to the application I'm
trying to use: Noosfero.
The thing is, i'm trying to run 'rake makemo' with no success..
$/usr/bin/ruby1.8 -rconfig/boot -rgettext -rgettext/rails -rgettext/
utils -e 'GetText.create_mofiles(true, po, locale)'
Here is my model and an attempt to convert to json. Whether there is
data returned or not, a circular reference error is thrown. How can I
avoid this?
ruby-1.8.7-p249 PayPeriod
= PayPeriod(id: integer, start_date: date, end_date: date, pay_date:
date)
ruby-1.8.7-p249
Hey Everyone
I'm new to RoR and this group so please let me know if I'm not being
descriptive enough, or if I'm asking questions when I should RTFM.
I have a basic understanding of RoR, but I'm kinda missing the next
step for a web application I have in mind.
I want to create an order form,
background
i have a page with a drop-down menu item. if any of the choices is
selected, a partial gets activated to appear with new drop-down menu
choices. the initial page uses a select_tag, observe_field, and a div
to implement the above desired functionality. the pages i am working
with
Over the last two years, Bonanzle has been amongst the fastest growing
marketplaces in all of ecommerce. Since launching in late 2008, we
have grown to nearly 2 million monthly visitors and more than 3
million items posted for sale. We are looking to continue our
aggressive growth by adding all
On Mon, Aug 2, 2010 at 2:26 PM, wprater mc.willpra...@gmail.com wrote:
Here is my model and an attempt to convert to json. Whether there is
data returned or not, a circular reference error is thrown. How can I
avoid this?
wprater, I would recommend trying Rails 3 RC by doing the following:
Dave gets +1 awesome on the missing the java boat point. Same deal
here.
Ruby is a great language. Rails is a great framework. There's no
rule that says that this technology CAN'T go away, but the trend with
Ruby/Rails has been explosive growth for the last five years or so.
I've personally
class Store ActiveRecord::Base
has_many: store_type
has_many: product_type, :through = department
class Department ActiveRecord::Base
belongs_to: store
belongs_to: product
class Product ActiveRecord::Base
has_many :departments
has_many :stores, :through = department
end
I think you need
Already fixed... just removed the unecessary option -rgettext/rails from
command line
2010/8/2 Bráulio Bhavamitra brauli...@gmail.com
Hello all,
I'm a newbie to Ruby/Rails world, and also to the application I'm
trying to use: Noosfero.
The thing is, i'm trying to run 'rake makemo' with no
ActionView::TemplateError (SystemExit: exit: SELECT * FROM
product_stocklevels WHERE (product_stocklevels.product_id = 831 AND
(size = 'W44 L 32' AND stock 0)) LIMIT 1)
Before I paste more code, has anyone come across this before?
--
Posted via http://www.ruby-forum.com/.
--
You received
just add -d mysql option when you create a new rails project
--
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-t...@googlegroups.com.
To unsubscribe
On Aug 2, 11:15 pm, suzuki elle.on.ra...@gmail.com wrote:
troubleshooting
i'm looking at the log, and it seems to me that when i am at the
initial page (and surrounding pages), i am in the desired controller.
routing appears to be working as expected. however, when i test my
drop-down
Hi All,
I have had this problem with Rails 3 and 1.9.1. The fix for this error
is to add to_a to the json call.
render :json = {:top = @top.to_a.as_json(:only = [:id, :title ] ) }
Hope this helps.
Huet
On Aug 3, 8:01 am, Conrad Taylor conra...@gmail.com wrote:
On Mon, Aug 2, 2010 at 2:26
To access files in rails, you can use the Ruby File Class
http://ruby-doc.org/core/classes/File.html#M002579
You can put this into a method in the model. Then either call it
specifically from the controller, or use an after_update callback to
automatically create the file after the object has
Hello I've only been playing with ruby and rails for a few short weeks,
I have an class called time in my libs folder and I want to call an
array from this class and populate a drop down box/select box in rails
in one of my view pages.
everything online is so confusing regarding this..
Just say
How would I get a select box to list
-minute
-hour
--
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-t...@googlegroups.com.
To unsubscribe from
i didn't understand that...
try to explain me some things... i would be pleased to help.
so, you want a ComboBox that shows what? the values in the array?
if it is so, you may want to populate this array in the controller, and
iterate it in the view, adding values for each item in your array.
Hi,
Is it possible, when using a find method with a Model, to record the
MySQL thread ID for the subsequent database query? Does ActiveRecord
expose this?
Many thanks,
Michaël
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to
Michaël wrote:
Hi,
Is it possible, when using a find method with a Model, to record the
MySQL thread ID for the subsequent database query? Does ActiveRecord
expose this?
Why on earth would you need this? What are you trying to achieve?
Many thanks,
Micha�l
Best,
--
Marnen
On 2 August 2010 22:48, pipplo joe.kos...@gmail.com wrote:
Hey Everyone
I'm new to RoR and this group so please let me know if I'm not being
descriptive enough, or if I'm asking questions when I should RTFM.
I have a basic understanding of RoR, but I'm kinda missing the next
step for a web
Avdi Grimm wrote:
== What
NullDB is a Rails database connection adapter that interprets common
database operations as no-ops. It is the Null Object pattern as
applied to database adapters.
[...]
== Why
NullDB is intended to assist in writing fast database-independant unit
tests for
On Aug 3, 1:24 pm, Marnen Laibow-Koser li...@ruby-forum.com wrote:
Michaël wrote:
Hi,
Is it possible, when using a find method with a Model, to record the
MySQL thread ID for the subsequent database query? Does ActiveRecord
expose this?
Why on earth would you need this? What are you
Hi.
I have the following controller of the update action:
[code]
def update
@projeto = Projeto.find(params[:id])
if (@projeto.update_attributes(params[:projeto]))
## Mesmo raciocínio utilizado no create.
@permissaoA = Permissao.find(:first, :conditions = [usuario_id =
?,
My client has a translator and wants a lot of his page content to be
translated into 6 different languages.
When a user selects their language on the front end, it need to alter
the Page content, Page title and Navigation title.
I've made alternate columns in my database for the other languages.
Pale Horse wrote:
My client has a translator and wants a lot of his page content to be
translated into 6 different languages.
When a user selects their language on the front end, it need to alter
the Page content, Page title and Navigation title.
I've made alternate columns in my database
Same thing for me, I plan to put online a site with juggernaut this
fall, an I keep wondering if its the right gem for a chatting engine.
Is there any other gem or libs more up to date?
Rémi
Kenneth wrote:
Are there any plans to update the Juggernaut gem to be compatible with
Rails 3?
Robert Walker wrote:
Pale Horse wrote:
My client has a translator and wants a lot of his page content to be
translated into 6 different languages.
When a user selects their language on the front end, it need to alter
the Page content, Page title and Navigation title.
I've made alternate
Fabio Kreusch wrote:
I am still stuck with this. Does anyone knows if this is the expected
beavior for Rails? Should respond_with on update really return an
empty json object?
I pretty sure the Rails behavior is as intended. Rails basically says
the save was successful by returning a 200
On Tue, Aug 3, 2010 at 11:06 AM, Pale Horse li...@ruby-forum.com wrote:
Robert Walker wrote:
Pale Horse wrote:
My client has a translator and wants a lot of his page content to be
translated into 6 different languages.
When a user selects their language on the front end, it need to alter
Thank you for your response. However, I am refactoring an existing
application, and am trying to remove a bunch of pure SQL that was put
in the code. I believe the best way to do this is with a table
association. One of the big features I want to use out of this is
retrieving the records in the
Chad Weier wrote:
I have an class called time in my libs folder and I want to call an
array from this class and populate a drop down box/select box in rails
in one of my view pages.
everything online is so confusing regarding this..
There are multiple ways of invoking the helpers to produce
Michaël wrote:
On Aug 3, 1:24�pm, Marnen Laibow-Koser li...@ruby-forum.com wrote:
Many thanks,
Micha l
[Please quote what you're replying to. It will make the discussion
easier to follow.]
Because the application I'm maintaining uses Model find() methods to
run large queries on the
Leonardo Mateo wrote:
On Tue, Aug 3, 2010 at 11:06 AM, Pale Horse li...@ruby-forum.com
wrote:
I've not read this, though I imagine it to be overkill for my purposes.
Really?
You should read it. That's how rails works with i18n. Overkill would
be to implement a different solution when a
It would be really useful if, when one of these
large finds is run, that I could record the thread ID it creates so if
I need to kill a thread, I can match it back up to the originating
find() call.
If the database kills a thread, can't you just rescue the appropriate
exception?
Marnen Laibow-Koser wrote:
Rails I18N is not really nice. I recommend fast_gettext instead.
If you think that translate an application to 6 different languages
doesn't need an elegant and easy-to-maintain solution, then you're in
trouble.
Agreed.
Or is your question specifically
Hi,
It's not specifically related to Rails, but how do you arrange your CSS
files?
I used to dump everything in a gigantic screen.css file. Then I noticed
that some rules only appeared in a few pages.
Therefore I am considering having a layout.css for all pages and roughly
1 css file per
Pale Horse wrote:
[...]
How effective and accurate are the I18N translation solutions? More-so
than members of the foreign-speaking countries themselves that my client
is in contact with?
The Rails I18N modules are not translation solutions. They're simply
modules for managing the translated
Have you tried naming the file create.js.rjs?
On Aug 2, 11:46 am, Neil Bye li...@ruby-forum.com wrote:
Joshua Mckinney wrote:
From inside your create method in the controller, what does
request.format return?
If the request is a plain old html request is should put text/html
If the
Marnen Laibow-Koser wrote:
Pale Horse wrote:
[...]
How effective and accurate are the I18N translation solutions? More-so
than members of the foreign-speaking countries themselves that my client
is in contact with?
The Rails I18N modules are not translation solutions. They're simply
Fernando Perez wrote:
Hi,
It's not specifically related to Rails, but how do you arrange your CSS
files?
I used to dump everything in a gigantic screen.css file. Then I noticed
that some rules only appeared in a few pages.
Therefore I am considering having a layout.css for all pages
Pale Horse wrote:
Marnen Laibow-Koser wrote:
Pale Horse wrote:
[...]
How effective and accurate are the I18N translation solutions? More-so
than members of the foreign-speaking countries themselves that my client
is in contact with?
The Rails I18N modules are not translation solutions.
Thank you for your response. However, I am refactoring an existing
application, and am trying to remove a bunch of pure SQL that was put
in the code. I believe the best way to do this is with a table
association.
Why do you believe this?
One of the big features I want to use out of
Olivier Db wrote:
Hello,
I am running Mac OS X 10.6.4 and have installed the following:
ruby-1.9.1-p429 (64 bits, I believe!)
RubyGems 1.3.7
Rails 2.3.8
MySQL 5.1.49 (64 bits)
I am now getting an error because sqlite3 is not installed
SQLite comes with Mac OS. The OS uses it
See below...
Thanks!
Trish
On Aug 3, 11:00 am, Angel Robert Marquez angel.marq...@gmail.com
wrote:
Thank you for your response. However, I am refactoring an existing
application, and am trying to remove a bunch of pure SQL that was put
in the code. I believe the best way to do this is
How do you organize that?
The latter way.
Ok.
I also *highly* recommend using Sass: CSS alone is not
powerful enough to fully separate content from presentation in a
maintainable way -- Sass' higher-level abstractions are necessary here.
I find sass ugly, and I reviewed less, but in
Joshua Mckinney wrote:
Have you tried naming the file create.js.rjs?
Good idea but no difference.
The latest configuration of the create function is:
def create
@story = Story.find(params[:story_id])
@story.comments.create params[:comment]
request.format = :js
end
Gives a page
On Tue, Aug 3, 2010 at 12:42 PM, Fernando Perez li...@ruby-forum.com wrote:
How do you organize that?
The latter way.
Ok.
Also, take a look at
http://www.alistapart.com/articles/progressiveenhancementwithcss. The
article recommends ways for splitting up your CSS.
I also *highly* recommend
Fernando Perez wrote:
How do you organize that?
The latter way.
Ok.
I also *highly* recommend using Sass: CSS alone is not
powerful enough to fully separate content from presentation in a
maintainable way -- Sass' higher-level abstractions are necessary here.
I find sass ugly,
Hi,
Can somebody update me on the state of html_safe strings in rails 2.3.8?
I know rails 2.3.6 and 2.3.7 broke a lot of code because strings were
being escaped when they shouldn't have been and I thought this was all
fixed in 2.3.8.
I'm upgrading an app from 2.3.5 to 2.3.8 and there are many
Latest development. I've changed the ajax call stories/show.html.erb to
div id='aremark'
%= render :partial = 'comment' %
/div
h5label for=loginMake a comment:/label/h5
% remote_form_for :comment, :update ='aremark',
:url=story_comments_path(@story) do |form| %
div id=body%=
Marnen Laibow-Koser wrote:
Avdi Grimm wrote:
== What
NullDB is a Rails database connection adapter that interprets common
database operations as no-ops. It is the Null Object pattern as
applied to database adapters.
[...]
== Why
NullDB is intended to assist in writing fast
Hello All,
We're working on a project on a Windows machine that will use PDFKit to
convert an HTML page to a PDF. I have followed all the instructions at
GitHub (http://github.com/jdpace/PDFKit), for installing wkhtmltopdf and
PDFKit, then creating the config file in
Hello everybody,
In a controller I try to render a javascript google ad to print it
into some HTML using JSONP, like this
script type=text/javascript!--
google_ad_client = pub-23222424;
google_alternate_color = FF;
google_ad_width = 468;
google_ad_height = 60;
//--/script
script
I'm fairly new to unit testing and TDD, but I think I understand the
concept of what they're talking about here. The point is that if you are
writing to the database during unit tests, you're actually testing the
database adapter and abstraction layer, in this case: ActiveRecord, and
not
Eric Schmitt wrote:
Marnen,
I'm fairly new to unit testing and TDD,
I've been doing test-first development as long as I've been doing Rails
development, nearly 3 years. (Whether that means that I too am new to
unit testing is left as an exercise for the student.)
? but I think I
Lucas wrote:
Hello everybody,
In a controller I try to render a javascript google ad to print it
into some HTML using JSONP, like this
script type=text/javascript!--
google_ad_client = pub-23222424;
google_alternate_color = FF;
google_ad_width = 468;
google_ad_height = 60;
I'm writing a helper to generate the display of a product and its
information as retrieved from the database. Several HTML tags are part
of this.
As I'm building the string I want included in the HTML, Rails is
automatically escaping the string - which prevents me from actually
using the string I
I am trying to do a link_to with multiple to create an object.
Everything works until ad the second parameter in. As soon as I add the
second parameter, it forgets to add any information about the first one.
link_to create, foos_path(@foo, :bar_id = @bar.id), :method = :post
What am I doing
I'm writing a helper to generate the display of a product and its
information as retrieved from the database. Several HTML tags are part
of this.
As I'm building the string I want included in the HTML, Rails is
automatically escaping the string - which prevents me from actually
using the
Marnen,
You make some interesting points... I think I still have a ton to learn
about unit testing and TDD best practices. I'm still just getting
started. Thanks for the info!
Warmest Regards,
Eric
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
I just hit a similar problem where I was concatenating strings with
escapable characters within a formbuilder. I googled about and there
seems to be a some logic being discussed that anything that is magic
security is going to be a nightmare. My problems were quite isolated
(the great thing
Philip Hallstrom wrote:
def my_helper
h2my unsafe string/h2.html_safe!
end
See http://weblog.rubyonrails.org/2009/10/12/what-s-new-in-edge-rails
I'm not running edge rails, I'm running Rails 2.3.8.
There is no html_safe! method defined, so this won't work.
--
Posted via
The 2 most direct causes I can think of that would produce that error
would be:
1. create.js.rjs is not in the correct director (.../app/views/
comments/create.js.rjs
2. create.js.rjs does not exist or bad file name
Try using:
def create
@story = Story.find(params[:story_id])
def my_helper
h2my unsafe string/h2.html_safe!
end
See http://weblog.rubyonrails.org/2009/10/12/what-s-new-in-edge-rails
I'm not running edge rails, I'm running Rails 2.3.8.
There is no html_safe! method defined, so this won't work.
Ah. Then look at
Michael Satterwhite wrote:
Philip Hallstrom wrote:
def my_helper
h2my unsafe string/h2.html_safe!
end
See http://weblog.rubyonrails.org/2009/10/12/what-s-new-in-edge-rails
Or you can use the raw method in the view I think:
%= raw my_helper %
Sort of like the opposite of the old h
No. The problem is that your double-quoted string contains double
quotes!
It contains double-quotes but they are escaped aren't they ?
There are quoting constructs that would do the trick. But you have a
bigger problem: you really shouldn't be doing this in the controller.
Rendered JS,
Philip Hallstrom wrote:
Ah. Then look at
activesupport/lib/active_support/core_ext/string/output_safety.rb
OK, I'm looking at it. I must be dense, though - or I've got a BAD case
of tunnel vision.
How do I STOP these from changing the string? I'm sure it's obvious ...
but I'm not seeing
1. Why are we suddenly discussing a two year old post here? Clue me in.
2. Myron Marsten is now the maintainer of NullDB. See
http://github.com/nulldb/nulldb
3. I'm not really interested in rehashing the arguments for NullDB.
Enough teams are happily using it that I had to transfer
Andrew Kaspick wrote:
I'm upgrading an app from 2.3.5 to 2.3.8 and there are many spots where
previous code was output correctly and now it expects html_safe method
calls to properly escape the strings. Are those who don't want to use
the new escaping behaviour in the 2.3.x branch expected to
Robert Walker wrote:
Michael Satterwhite wrote:
Philip Hallstrom wrote:
def my_helper
h2my unsafe string/h2.html_safe!
end
See http://weblog.rubyonrails.org/2009/10/12/what-s-new-in-edge-rails
Or you can use the raw method in the view I think:
THANK YOU! THANK YOU! THANK YOU!
This
Michael Satterwhite wrote:
Philip Hallstrom wrote:
Ah. Then look at
activesupport/lib/active_support/core_ext/string/output_safety.rb
OK, I'm looking at it. I must be dense, though - or I've got a BAD case
of tunnel vision.
How do I STOP these from changing the string? I'm sure it's
Robert Walker wrote:
Andrew Kaspick wrote:
I'm upgrading an app from 2.3.5 to 2.3.8 and there are many spots where
previous code was output correctly and now it expects html_safe method
calls to properly escape the strings. Are those who don't want to use
the new escaping behaviour in the
Divya Mohan wrote:
Not yet solved. :(
I had a simular problem (i am also newbie)
for me it was solved by adding host: localhost in the
config/database.yml file
Hope it can help some others to..
grtz,
patrick
--
Posted via http://www.ruby-forum.com/.
--
You received this message because
Hello everyone, I am developing my application and I created a
scaffold called listas, but when I acess /listas/new I get this error
message:
NoMethodError in Listas#new
Showing /home/rodrigo3n/code/listeiroo/app/views/listas/_form.html.erb
where line #15 raised:
undefined method
Robert Walker wrote:
some_string = scriptalert(Gotcha!)/script
Ignore my still syntax error above with the nested double quotes. Single
quote the string in the JS part or fix however you like.
%= h some_string % or %= html_escape some_string %
= scriptalert(Gotcha!)/script
%= some_string
Avdi Grimm wrote:
1. Why are we suddenly discussing a two year old post here? Clue me in.
My apologies! It appeared at the top of my list feed and I neglected to
check the date. I'm not sure why it appeared at the top of my feed.
[...]
But briefly, I'll say this: if you are including the
Andrew Kaspick wrote:
Exactly. I'm not using the rails_xss plugin, but the escaping rules are
not as they were in 2.3.5. String literals were safe in 2.3.5, but
aren't in 2.3.8... a minor difference with huge implications.
I created a quick-n-dirty test app. See the result here:
Lucas wrote:
No. �The problem is that your double-quoted string contains double
quotes!
It contains double-quotes but they are escaped aren't they ?
Whoops! You're right. I somehow overlooked the backslashes.
There are quoting constructs that would do the trick. �But you have a
bigger
Pale Horse wrote:
ActionView::TemplateError (SystemExit: exit: SELECT * FROM
product_stocklevels WHERE (product_stocklevels.product_id = 831 AND
(size = 'W44 L 32' AND stock 0)) LIMIT 1)
Before I paste more code, has anyone come across this before?
Maybe you need to paste more code. Only
Robert Walker wrote:
Andrew Kaspick wrote:
Exactly. I'm not using the rails_xss plugin, but the escaping rules are
not as they were in 2.3.5. String literals were safe in 2.3.5, but
aren't in 2.3.8... a minor difference with huge implications.
I created a quick-n-dirty test app. See the
Marnen Laibow-Koser wrote:
And there's an argument to be made that since the AR framework is part
of an AR class, it must be respected -- and hit *some* state-preserving
DB-like thing -- to properly unit test an AR class.
This is the kind of muddling of concepts that I think Rails
Lily ^_^ wrote:
Hi,
I am developping a small Flash app to upload multiple files with a
progress bar in a Rails site.
Rails handles the server side. I have a controller that displays the
view containing the flash, and it also provides a security token to the
flash. The Flash gets it and
Avdi Grimm wrote:
Marnen Laibow-Koser wrote:
And there's an argument to be made that since the AR framework is part
of an AR class, it must be respected -- and hit *some* state-preserving
DB-like thing -- to properly unit test an AR class.
This is the kind of muddling of concepts that I
On Aug 3, 2:14 pm, rodrigo3n rodrig...@gmail.com wrote:
Hello everyone, I am developing my application and I created a
scaffold called listas, but when I acess /listas/new I get this error
message:
NoMethodError in Listas#new
Showing
On 3 August 2010 14:17, Bla ... li...@ruby-forum.com wrote:
Hi.
I have the following controller of the update action:
[code]
def update
�...@projeto = Projeto.find(params[:id])
if (@projeto.update_attributes(params[:projeto]))
## Mesmo raciocínio utilizado no create.
Andrew Kaspick wrote:
Robert Walker wrote:
Andrew Kaspick wrote:
Exactly. I'm not using the rails_xss plugin, but the escaping rules are
not as they were in 2.3.5. String literals were safe in 2.3.5, but
aren't in 2.3.8... a minor difference with huge implications.
I created a
Joshua Mckinney wrote:
Try using:
def create
@story = Story.find(params[:story_id])
@story.comments.create params[:comment]
request.format = :js
respond_to do |format|
format.js
end
end
Although respond _to blocks are not always necessary, it can't hurt to
I'm trying to update my rails from 2.3.8 to 3.0, where can I get the kit
from ?
Thanks,
Dani
--
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
gem install rails --pre
this will install rails 3.0 rc1
All the best,
Fidel.
On 8/3/10, Dani Dani li...@ruby-forum.com wrote:
I'm trying to update my rails from 2.3.8 to 3.0, where can I get the kit
from ?
Thanks,
Dani
--
Posted via http://www.ruby-forum.com/.
--
You received this
Ryan Bates from railscasts.com has an excellent screencast on this subject.
The links you are looking for are on the page under resources.
http://railscasts.com/episodes/225-upgrading-to-rails-3-part-1
On Tue, Aug 3, 2010 at 4:04 PM, Dani Dani li...@ruby-forum.com wrote:
I'm trying to
I hit a wall today with rcov + Rails3.
I am developing my Rails3 app using Ruby 1.9.2-preview3. rcov and
relevance-rcov do not work with Ruby 1.9.2 yet. I can't find any fork
of rcov that does yet either. It wasn't that big of a deal since I
could easily switch over to Ruby 1.8.7 using rvm
Jonathan Steel wrote:
I am trying to do a link_to with multiple to create an object.
Everything works until ad the second parameter in. As soon as I add the
second parameter, it forgets to add any information about the first one.
What do you mean, it forgets to add any information about the
Andrew Kaspick wrote:
I just wanted to know if others are having this issue, and it sounds
like people are, but I'm still not sure if this is a bug or if this is
the expected behviour for 2.3.8. If this is expected behaviour for
2.3.8 then this should not have been in a minor point release
I have just upgraded my entire system to use the subject line version
of rails...of course...this broke my previous rails apps as many
things are handled a bit differently...!
I have all apps running fine now but am having a problem when using
form_tag over form_for...(I need form_tag so I can
Fidel Viegas wrote:
gem install rails --pre
this will install rails 3.0 rc1
All the best,
Fidel.
thank you. this has helped upgrading, problem is I got the following
error:
ERROR: While executing gem ... (Errno::EINVAL)
Invalid argument - .//cdesc-.yaml
Any idee what this means
If you want to upgrade from previous versions, I suggest you look into
http://www.railsupgradehandbook.com/
I haven't really played with Rails 3 that serious. I am still using
2.3.8, and will only jump to rails 3 when it is production ready. But
I have been playing with it from time to time and
Stop your server and run it again
-original message-
Subject: [Rails] Re: Strange error message when rendering the scaffold form
From: Jeff cohen.j...@gmail.com
Date: 08/03/2010 14:10
On Aug 3, 2:14 pm, rodrigo3n rodrig...@gmail.com wrote:
Hello everyone, I am developing my application and I
Hi people,
i have this route in rails
http://localhost:3002/gdm/9/cd/posts/10/comments
we can see we have a namespace with prefix in gdm/9/cd/
also we have two controllers
i will create a helper, and need get ther controllers name with commands
i know i can get comments with
1 - 100 of 108 matches
Mail list logo