On May 27, 10:55 pm, Jose Ambros-ingerson
wrote:
> Perry Smith wrote:
>
> > By the way, update_attributes calls save (as of 2.3.2? or was it before
> > that) only if at least one attribute has changed.
>
> It appears to me that this is not true. I tried it below using 2.3.5.
> As you can see the
da manu.this prob is related with routes.yor are suppose to put that
method in routes.rb
On Thu, May 27, 2010 at 5:13 PM, Manivannanj Jeganathan <
li...@ruby-forum.com> wrote:
> Hi,
>
> I have tried to use searchlogic in my application...
> in def index,
> @search = AccounDetail.search(par
Thx!
--
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 this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, v
> > We have our e-mail subjects stored in I18n locale files. For the
> > English version of the website, we had no problem, but now we're
> > translating to German, which uses a lot of symbols like ü and
> > Ü for example. We store them as character codes in the YAML
> > files,
>
> Why? That's a r
chewmanfoo wrote:
> http://railscasts.com/episodes/75-complex-forms-part-3
>
> that might help
Thanks chewmanfoo, this is what the functionality Im looking for.
Thanks all for replying.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Go
Does anyone know of a demo or tutorial in which ...
(1) In a browser some data is packaged up using JSON.
(2) an async request is sent to a rails app sending the JSON data. I
would like this to be done via jQuery.
(3) A rails app deserializes the JSON data.
(4) The Rails app then packages up s
As far as I can tell there's no 'preferred' way to do this instead of
using overwrite_params and this is extrememly usefuly in situations
where it's hard to know exactly which parameters will be set in a view
(for instance filtering a few of multiple options using query string
params).
--
You rec
genki...@gmail.com wrote:
> Dude, it's new_category_subcategory_path(@category), you missed a
> "_path"
Yeah I found out today, I feel really stupid :/
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" g
Dude, it's new_category_subcategory_path(@category), you missed a
"_path"
--
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 this group, send email t
I am using ruby 1.8.7 and rail 3 beta3 on Windows XP.
Page caching works okay and the content of the cache is UTF8 as
expected. However, the filename which came from the UTF8 URL is not
okay.
Apache can not find the file because it is not filed as a UTF8
filename but something else.
I do not kn
I found a way around this, though I still have no clue why this works:
In my controller, if I add:
def show
end
The before filter DOES NOT run, as I expect, as soon as I remove the
def show;end the filter is once again applied to the #show action. Is
this a Rails3 bug?
-John
On May 27, 3:27 pm
Jose Ambros-ingerson wrote:
> Jose Ambros-ingerson wrote:
>> Perry Smith wrote:
>>
>>>
>>> By the way, update_attributes calls save (as of 2.3.2? or was it before
>>> that) only if at least one attribute has changed.
>>
>
> Though failure to behave this way (see above) is hurting me;
> I have
It's with the javascript include in lib/fckeditor.rb. Just comment out all the
"module ActionView::Helpers::AssetTagHelper" block and include fckeditor.js as
you do with another JS file.
You'll get rid of those deprecation warnings :)
Le jeudi 27 mai 2010 20:05:06, Rafael Coelho de Souza a écrit
Jose Ambros-ingerson wrote:
> Perry Smith wrote:
>
>>
>> By the way, update_attributes calls save (as of 2.3.2? or was it before
>> that) only if at least one attribute has changed.
>
Though failure to behave this way (see above) is hurting me;
I have an observer that get's triggered on the sa
This is apparently not related to Shoulda... This test also fails
using Test::Unit by itself:
test 'A guest on GET to #show' do
get :show, { :id => users(:alexander).id }
assert flash.empty?
assert_not_nil assigns(:user)
assert_response :success
end
Failure:
1) Failure:
te
jraglin wrote:
> Hello,
>
> My issue is that I am creating a database in MySQL and needing to
> export the information in automatically generated reports (.csv), into
> a web application written in Rails.
Well, you can generate the CSV files with MySQL's export feature and
read them with FasterC
Perry Smith wrote:
>
> By the way, update_attributes calls save (as of 2.3.2? or was it before
> that) only if at least one attribute has changed.
It appears to me that this is not true. I tried it below using 2.3.5.
As you can see the 'locale' attribute was "es" and it got updated to
"es" any
Hello,
My issue is that I am creating a database in MySQL and needing to
export the information in automatically generated reports (.csv), into
a web application written in Rails.
Does anyone have any advice or tutorial links as to how I may do this?
Or whether Rails or MySQL have a preferably fr
Errol Siegel wrote:
>> Use *_path? I do it and haven't seen any browsers complain about the
>> redirects...
> Again, that would mean going through the entire application and changing
> every reference.
>
> Besides, using relative paths in redirects violates the HTTP spec. I
> understand that
On May 27, 6:24 pm, Tom Ha wrote:
> Hi there,
>
> Has anyone an idea why the below form
> - submits correctly when I click the 'Submit' button
> - but does call the 'new' action instead of 'create' when I hit ENTER?
>
> <% form_remote_tag :html => { :action => url_for(:controller => 'pages',
>
On Thu, May 27, 2010 at 1:03 PM, Colin Law wrote:
> Assuming html is valid is it possible that Enter is hitting a
> different button or link on the page? Does the log give any clues?
Besides the above, use FF/Firebug to
1) confirm there are no JavaScript errors occurring
2) compare the network
Yes! that's it! thanks!
On May 27, 4:14 pm, Hassan Schroeder
wrote:
> On Thu, May 27, 2010 at 10:41 AM, chewmanfoo wrote:
> > ISSUE:
> > The host has 3 ip addresses on two networks (#62 is repeated)
> > How do I get host.networks to return only the two networks?
> > ## network_hosts model
> >
On Thu, May 27, 2010 at 10:41 AM, chewmanfoo wrote:
> ISSUE:
> The host has 3 ip addresses on two networks (#62 is repeated)
> How do I get host.networks to return only the two networks?
> ## network_hosts model
> class NetworkHost < ActiveRecord::Base
>
> has_many :ip_addresses, :dependent => :
tashfeen.ekram wrote:
> hmmm. what you mention does make sense. perhaps i will roll my own.
>
> however, i would like to completely understand. so, ideally the
> encryption should work such that all of the active record attributes
> work as expected. when retrieving an attribute you would get the
Thanks, Jeff.
Thanks for the clarification of the difference between .size
and .count. I was actually looking more for something that does .last
like .count, rather than .count like .last. I got around that by doing
and :order_by => 'created_at' before using .last, which puts the nils
at the head,
hmmm. what you mention does make sense. perhaps i will roll my own.
however, i would like to completely understand. so, ideally the
encryption should work such that all of the active record attributes
work as expected. when retrieving an attribute you would get the
expected object.
i dont have an
On May 27, 3:53 pm, Colin Law wrote:
> On 27 May 2010 18:32, anon_comp wrote:
>
>
>
>
>
>
>
> > On May 27, 1:27 pm, anon_comp wrote:
>
> >> > So what exactly is the problem then? First look in the log file
> >> > (log/development.log) and see if the parameter is being passed
> >> > correctly
I'm using Shoulda and restful_authentication on Rails3 and whenever I
run my tests a before filter for login_required is always triggered,
despite my filter being set up as:
before_filter :login_required, :only =>
[:update, :edit, :suspend, :unsuspend, :destroy, :purge]
My test is this:
cont
On 27 May 2010 18:24, Tom Ha wrote:
> Hi there,
>
> Has anyone an idea why the below form
> - submits correctly when I click the 'Submit' button
> - but does call the 'new' action instead of 'create' when I hit ENTER?
>
>
> <% form_remote_tag :html => { :action => url_for(:controller => 'pages',
>
On 27 May 2010 18:32, anon_comp wrote:
>
>
> On May 27, 1:27 pm, anon_comp wrote:
>
>> > So what exactly is the problem then? First look in the log file
>> > (log/development.log) and see if the parameter is being passed
>> > correctly when they submit. If this is ok what do you want to do with
tashfeen.ekram wrote:
> hmmm ok. i was using strongbox gem. what you recommends seems like
> it would work if i wrote my own encryption. i think the encryption in
> the gem is carried out prior to validation. is there another way in
> which i can still use strongbox?
I've not looked at the str
On May 27, 11:47 am, Dee wrote:
> I was just trying to write a "smart" copy method in a class* and
> noticed that the last and count collection methods don't work the same
> after build and before save. In other words, if in my code I do this:
>
> user = User.new
> user.save
> purchase
Kanaav:
Thanks for the response. What are your rates, and how much time would
it take to do this? Also, is there any warranty on the work for bugs
fixes, etc., if needed?
Adam
On May 26, 10:03 pm, kannav rajeev wrote:
> *I can surely do these
> *- Resolving any IE 8 compatibility issues,
> - Ad
Well, I still think it's silly to make users play "guess the page
number," so here's how you can make nicely labeled page links with
Paginator.
In your controller:
http://pastie.org/980498
and in your view:
http://pastie.org/980519
Perhaps this isn't so easy using will_paginate. So, another
Not sure what you are attempting to accomplish in those background
threads/processes, or what the reasoning is behind even using multiple
background threads/processes in the first place in light of what you
seem to be trying to do, but the basic strategy you're attempting to
pursue where you have m
Are you interested in a Ruby on Rails position at Sony Computer
Entertainment America LLC? Working here is really great, I promise!
Position Overview:
Support PlayStation Online Games by developing and supporting in
production a high complexity, service oriented application that offers
online func
> Use *_path? I do it and haven't seen any browsers complain about the
> redirects...
Again, that would mean going through the entire application and changing
every reference.
Besides, using relative paths in redirects violates the HTTP spec. I
understand that it gets the job done, but that d
And what was the problem? I'm having the same issue.
Best,
Rafael
On Thu, May 27, 2010 at 9:33 AM, Loïc Guitaut wrote:
> Found it! It was a problem with fckeditor plugin.
>
> Le mercredi 26 mai 2010 11:21:41, Loïc Guitaut a écrit :
> > Hi there!
> >
> > I've just migrated from rails 2.3.5 to
http://railscasts.com/episodes/75-complex-forms-part-3
that might help
On May 27, 10:04 am, Ravi Dtv wrote:
> Hii
>
> I need to add textbox dynamically when I click "Add" button.
>
> On clicking on button the textboxes are to be displayed one below the
> other.
>
> I enter different text in diff
ISSUE:
The host has 3 ip addresses on two networks (#62 is repeated)
How do I get host.networks to return only the two networks?
>> host
=> #
>> host.ip_addresses.size
=> 3
>> host.networks
=> [#,
#,
#]
>> host.networks.size
=> 3
## networks model
class Network < ActiveRecord::Base
On May 27, 2010, at 10:11 AM, Errol Siegel wrote:
>> I assume you meant to say "http://"; ?
>
> Yes! I thought I proof-read so well...
>
>>> How do I get *_url to generate a url with https:// for the protocol?
>>
>> some_model_url(:scheme => 'https')
>>
> Thanks for the response. I guess I w
On May 27, 1:27 pm, anon_comp wrote:
> > So what exactly is the problem then? First look in the log file
> > (log/development.log) and see if the parameter is being passed
> > correctly when they submit. If this is ok what do you want to do with
> > his input?
>
> The parameters are being pas
I've been looking at rescue_from and rescue_action_in_public however,
none of them have worked without making a catch-all route.
So currently, my solution is to use the catch-all route: match
'*path' => "controller#action" # custom 404 which then renders a 404
with the appropriate layout whethe
On May 27, 1:19 pm, Colin Law wrote:
> Could you not top post please, it makes it easier to follow the thread
> if you insert your replies inline.
Sorry about that
> So what exactly is the problem then? First look in the log file
> (log/development.log) and see if the parameter is being passed
Hi there,
Has anyone an idea why the below form
- submits correctly when I click the 'Submit' button
- but does call the 'new' action instead of 'create' when I hit ENTER?
<% form_remote_tag :html => { :action => url_for(:controller => 'pages',
:a
On 27 May 2010 18:07, anon_comp wrote:
> In essence yes, but the user input is just an added command that won't
> do anything if they don't have a log file, or the rather, the correct
> log format. I'm mostly using this for personal use and am totally
> aware that it's incredibly dangerous. I just
> I assume you meant to say "http://"; ?
Yes! I thought I proof-read so well...
>> How do I get *_url to generate a url with https:// for the protocol?
>
> some_model_url(:scheme => 'https')
>
Thanks for the response. I guess I was looking for a way to do this
application-wide. It would not
In essence yes, but the user input is just an added command that won't
do anything if they don't have a log file, or the rather, the correct
log format. I'm mostly using this for personal use and am totally
aware that it's incredibly dangerous. I just can't think of another
way to do this.
On May
If you are using SQLite make sure you run under same UID as passenger/
fastcgi/mongrel/etc
On May 27, 10:45 am, james wrote:
> I need to make some minor record changes in the database on my live
> production site. I use Capistrano to deploy. I know I can activate
> script/console by entering my "
I was just trying to write a "smart" copy method in a class* and
noticed that the last and count collection methods don't work the same
after build and before save. In other words, if in my code I do this:
user = User.new
user.save
purchase = user.purchases.build
Then I get the follow
On Thu, May 27, 2010 at 9:35 AM, Colin Law wrote:
> It is probably correct that the round trip to the server is pointless,
> but not necessarily, we do not know enough about the requirement.
> Maybe the text boxes to be added depend on data the user has entered
> and in data in the database in so
> Hello,
>
> I accidentally posted this to the "Ruby" forum when it should have gone
> here -- sorry.
>
> I am using *_path in views and *_url in controllers (with redirect_to,
> for example). It is my understanding that this is generally considered
> a good practice.
>
> I want to use my app u
On 27 May 2010 17:20, Hassan Schroeder wrote:
> On Thu, May 27, 2010 at 9:09 AM, Colin Law wrote:
>
>>> A client-side action like this is done with JavaScript.
>
>> Or AJAX could be used.
>
> Which is still JavaScript, but with a pointless (in this case) round-trip
> to the server :-)
It is prob
Jaap Haagmans wrote:
> Hi,
>
> We have our e-mail subjects stored in I18n locale files. For the
> English version of the website, we had no problem, but now we're
> translating to German, which uses a lot of symbols like ü and
> Ü for example. We store them as character codes in the YAML
> files,
Andy Jeffries wrote:
> On 27 May 2010 15:45, james wrote:
>> I need to make some minor record changes in the database on my live
>> production site. I use Capistrano to deploy. I know I can activate
>> script/console by entering my "/current" Capistrano directory and
>> running:
>>
>> RAILS_ENV=pr
On Thu, May 27, 2010 at 9:09 AM, Colin Law wrote:
>> A client-side action like this is done with JavaScript.
> Or AJAX could be used.
Which is still JavaScript, but with a pointless (in this case) round-trip
to the server :-)
--
Hassan Schroeder hassan.schroe...@gmail
On 27 May 2010 16:35, Hassan Schroeder wrote:
> On Thu, May 27, 2010 at 8:04 AM, Ravi Dtv wrote:
>
>> I need to add textbox dynamically when I click "Add" button.
>
>> How can I achive this functionality?
>
> A client-side action like this is done with JavaScript.
>
> A JS library like Prototype
On 27 May 2010 15:43, anon_comp wrote:
> Ok so I have a RoR project that seems to be...unconventional lol
>
> I'm attempting to validate the name of the file and using
> Kernal.System to input the file in the system as a parameter.
>
> I've tried validates_presence_of, but that doesn't appear to w
On Thu, May 27, 2010 at 8:04 AM, Ravi Dtv wrote:
> I need to add textbox dynamically when I click "Add" button.
> How can I achive this functionality?
A client-side action like this is done with JavaScript.
A JS library like Prototype or jQuery can be helpful, but you still have
to write the c
Hii
I need to add textbox dynamically when I click "Add" button.
On clicking on button the textboxes are to be displayed one below the
other.
I enter different text in different textboxes, when clicked submit
button all the content in all the textboxes should be saved.
How can I achive this fun
On 27 May 2010 15:45, james wrote:
> I need to make some minor record changes in the database on my live
> production site. I use Capistrano to deploy. I know I can activate
> script/console by entering my "/current" Capistrano directory and
> running:
>
> RAILS_ENV=production script/console
>
> A
I need to make some minor record changes in the database on my live
production site. I use Capistrano to deploy. I know I can activate
script/console by entering my "/current" Capistrano directory and
running:
RAILS_ENV=production script/console
Are there any dangers or pitfalls to be aware of wh
well... finally i installed the ruby head-version, and all the little
problems that i had were solved, try that
On May 24, 9:06 am, Felipe Orellana Castillo
wrote:
> I have the same trouble, but using the ruby 1.9.1
>
> it's a kind of bug?
>
> --
> You received this message because you are subscr
Ok so I have a RoR project that seems to be...unconventional lol
I'm attempting to validate the name of the file and using
Kernal.System to input the file in the system as a parameter.
I've tried validates_presence_of, but that doesn't appear to work
unless in a model which I don't have. I'm tryi
Hi,
We have our e-mail subjects stored in I18n locale files. For the
English version of the website, we had no problem, but now we're
translating to German, which uses a lot of symbols like ü and
Ü for example. We store them as character codes in the YAML
files, but most e-mail clients won't parse
> The downside is that migrations will often have a create_table in the
> up method and a drop_table in the down method. As Hemant said this
> was on a production system, doing as you suggest would lose all his
> live/production data.
>
> Probably not the solution he'd desire :-)
Point taken :)
On 27 May 2010 15:15, anon_comp wrote:
> I know this has already been resloved, but instead of creating a new
> migration, you could have gone back to version 0
>
> rake db:migrate VERSION=0
>
> then run rake db:migrate
>
> this should update all migrations you edited.
The downside is that migrat
I know this has already been resloved, but instead of creating a new
migration, you could have gone back to version 0
rake db:migrate VERSION=0
then run rake db:migrate
this should update all migrations you edited.
On May 27, 6:55 am, Andy Jeffries wrote:
> >>> I edited migrations on my local
Hi All,
I need suggestions and helps from PayPal (PP) users and developers to
clarify about PP gateways. We need to implement PP payment gateway for money
transactions between two users in our site.
We need to accept payments in two ways;
1) From PP a/c. to PP a/c
2) From Credit card to PP accou
Hello,
I accidentally posted this to the "Ruby" forum when it should have gone
here -- sorry.
I am using *_path in views and *_url in controllers (with redirect_to,
for example). It is my understanding that this is generally considered
a good practice.
I want to use my app using https, and thou
Hi,
We are looking for strong LAMP/Ruby on Rails candidates for one of our
multinational clients (a product company) who are looking to setup a
development center in Delhi/NCR.
Openings are for Technical Leads, Senior Developers and Developers.
Remuneration would be one of the best in the industry
Found it! It was a problem with fckeditor plugin.
Le mercredi 26 mai 2010 11:21:41, Loïc Guitaut a écrit :
> Hi there!
>
> I've just migrated from rails 2.3.5 to 2.3.8 and now I have a lot (and I
> mean a lot!) of deprecation warnings like this one: "DEPRECATION WARNING:
> ActionView::SafeBuffer
Hello,
To make it more clear.
What I have in mind is this:
Make a application with a menu which contains a input choice and a
rankings choice.
If the user chooses for input the user gets a form so the data can be in
the database.
If the user chooses for rankings the followrig occurs.
Every
RonPhillips wrote:
> Ok, I am thinking search by title, then the results are sorted by
> date, so I want to label pages by date.
> There's a series of screenshots at
> http://www.flickr.com/photos/21409...@n08/
> to show what I mean.
>
> If I expect lots of search results in a field to be identic
RobertWalker wrote:
What I think is even more nuts is to have to slog through 137 pages of
results without having a decent way to filer that down to just a few
pages at most.
For example. I very rarely make it past about page 3 or 4 of a Google
search result set. I'd never make it to page 125.
It never fails! If you are having a problem trying to get something to
work, post something looking for help and within 15 minutes, you'll
figure it out!
I went back and reviewed the railscast on nested forms, which used a
has_many form and answered my 3rd question = you have to have an
array.
In
Hi,
I have tried to use searchlogic in my application...
in def index,
@search = AccounDetail.search(params[:search])
@account_details = @search.all
In index.rhtml
<%form_for @search do |f|%>
<%=f.label :name_like,"Name"%>
<%=f.text_field :name_like%>
<%=submit_tag :Search,:nam
Alex P wrote:
> Actually, the goal is trivial.
> Check out http://guides.rubyonrails.org/getting_started.html
>
> Install ruby, gem, rails, and start developing, ask questions as you
> go along. There's no such thing as tutorial for a menu or working
> space.
> Checking whether a team has already
Sorry, to clarify this I mean in *writing* my own generators - using the
Thor built in actions, the Rails ones, etc. Rails templates are what I'm
actually trying to build.
James
On Thu, May 27, 2010 at 6:47 PM, Alex P wrote:
> if you enter script/generate –help you get a list of possible
> ge
Exactly! If you search for some term, and then specify an ordering of
the results, the pages should be labeled with your ordering, not
numbers.
Let's say you search for "dengue fever" and then order by author. The
page links should show the name of the author of the first article on
the page. Then
Hi all, I'm working on a polymorphic association and I've run into a bit of a
stumbling block. I only seem to be able to traverse the relationship in one
direction and not the other. This is what my code looks like:
class NodeEntry < ActiveRecord::Base
acts_as_nested_set
belongs_to :node,
Ok, I am thinking search by title, then the results are sorted by
date, so I want to label pages by date.
There's a series of screenshots at http://www.flickr.com/photos/21409...@n08/
to show what I mean.
If I expect lots of search results in a field to be identical, then I
like to index by some o
Not sure if this the best place to look for rails 3.0 beta 3 help, but
I'll give it a try.
I can't seem to get nested forms to work in the beta - close but no
workie!
I used an approach similar to one I used in a 2.3 application to
update a user record from a profile record (citizen has_one :use
>>> I edited migrations on my local machine and checked in them.. :) Just
>>> now i realised that this could be the problem of me.
>>
>> It is indeed :-)
>
> Resolved it. Thanks to all of you with a big smile .. :) :)
Happy to help.
Good luck,
Cheers,
Andy
--
You received this message becaus
Andy Jeffries wrote:
>>> Did you create new migrations or edit existing ones?
>>
>> I edited migrations on my local machine and checked in them.. :) Just
>> now i realised that this could be the problem of me.
>
> It is indeed :-)
Resolved it. Thanks to all of you with a big smile .. :) :)
>
>>
On 27 May 2010 11:20, happysmiley wrote:
> Hello,
> I'm new in Rails and I'm Trying to implement a plattform were
> authorized people can apply Profiles to a special topic.
> The profil can be identified by the ID and the title in the data
> base.
> So in the view/profil/show_profil.html.erb the i
Actually, the goal is trivial.
Check out http://guides.rubyonrails.org/getting_started.html
Install ruby, gem, rails, and start developing, ask questions as you
go along. There's no such thing as tutorial for a menu or working
space.
Checking whether a team has already played the game is a matter
Hello,
I'm new in Rails and I'm Trying to implement a plattform were
authorized people can apply Profiles to a special topic.
The profil can be identified by the ID and the title in the data
base.
So in the view/profil/show_profil.html.erb the infomation of one
Profil are perfektly shown.
My probl
if you enter script/generate –help you get a list of possible
generators.
for example, script/generate model –help gives you help on the model
generator
On May 27, 10:16 am, James Nelson wrote:
> Hi,
>
> I'm new to this list so sorry if i'm posting in the wrong place.
>
> I've just been looking
>> Did you create new migrations or edit existing ones?
>
> I edited migrations on my local machine and checked in them.. :) Just
> now i realised that this could be the problem of me.
It is indeed :-)
> Ok tell me one thing, if i edit a already migration file, and run rake
> db:migrate then woul
On May 27, 11:16 am, Hemant Bhargava wrote:
>
> I edited migrations on my local machine and checked in them.. :) Just
> now i realised that this could be the problem of me.
>
> Ok tell me one thing, if i edit a already migration file, and run rake
> db:migrate then would that column be get affec
Andy Jeffries wrote:
>
> Have you changed database configuration in your database.yml?
No. I have'nt changed.
>
> Are you getting any error messages (command line or in the log)?
No i am not getting any error message at command line/log file.
>
> Did you create new migrations or edit existin
> I am in a great need of you people. My migrations are not running on
> production database. I done some changes in production mode and then i
> ran rake db:migrate RAILS_ENV=production / RAILS_ENV="production". But
> my database is not reflecting. Can you people tell me that what are the
> possib
Ok just found that now I have to add 'html' to all I18n keys that use html in
their translations for this to work properly...
While I can understand this approach, it's quite annoying when migrating an
app from a previous version :(
Le mercredi 26 mai 2010 18:13:39, Loïc Guitaut a écrit :
> Hi
Champs,
I am in a great need of you people. My migrations are not running on
production database. I done some changes in production mode and then i
ran rake db:migrate RAILS_ENV=production / RAILS_ENV="production". But
my database is not reflecting. Can you people tell me that what are the
possibl
On May 27, 9:33 am, roelof wrote:
> Hello,
>
> Really nobody who wants to help ?
I think you questions are a mixture of over vague and over specific,
for example i don't think you'll ever find a tutorial for your second
question as that's quite a narrow question that depends quite tightly
on ho
Hello,
Really nobody who wants to help ?
Roelof
On 26 mei, 19:17, Roelof Wobben wrote:
> Hello,
>
> I want to learn ruby.
> As a learning experience I want to write a programm which people can put
> the results of games in a tournament. The programm produces which team
> is first and so on.
>
Hi,
I'm new to this list so sorry if i'm posting in the wrong place.
I've just been looking through documentations for generators, as I've
been trying to make a rails template for the various projects I'm
doing now. It turns out that there really isn't any - especially for
rails 3. I dug through
On May 27, 5:58 am, Ravi Dtv wrote:
> Hii
>
> In a partial I used button_to_remote for deleting record.
>
> My record is deleted but message is not firing.
>
> <%= button_to_remote "Delete", :url => {:controller => "users" ,
> :action => "deletegroup", :group_name=>grouprow.group_name}, :class
On May 27, 6:48 am, Jian Lin wrote:
> RJS is very good for sending Javascript code back to the browser saying
> "Your AJAX is successful and by the way you can update the UI to signal
> to the user using the following Javascript I am going to send you."
>
> How about other webpage interactivitie
100 matches
Mail list logo