On Mon, Mar 25, 2013 at 11:59 PM, Avi wrote:
> I have an array:-
>
> session[:new] = Array.new
> session[:new] = [1, 2, 3, 4] - I am keeping these object ids in session.
>
> I want to delete one id from the session - as session[:new] = [1, 2, 3]
> How to delete one of the ids ?
Off the top of m
On Mon, Mar 25, 2013 at 2:58 PM, Y S wrote:
> How should we approach the problem is the tab character is to be included in
> the string. For example,
>
> <% c = '\t' %>
>
> just shows the tab as a space.
The tab char (\t) is not converted by html_escapes() as far as I know;
if you want to make i
Hello All,
I have an array:-
session[:new] = Array.new
session[:new] = [1, 2, 3, 4] - I am keeping these object ids in session.
I want to delete one id from the session - as session[:new] = [1, 2, 3]
How to delete one of the ids ?
Thanks,
Avi
--
You received this message because you are s
On Mon, Mar 25, 2013 at 2:51 PM, Paulo Ribeiro wrote:
> Em segunda-feira, 25 de março de 2013 14h39min09s UTC-3, Matt Jones
> escreveu:
>> On Sunday, 24 March 2013 12:59:00 UTC-4, Paulo Ribeiro wrote:
>>>
>>> Thx for your reply. I want to make the models more light. I want to make
>>> models what
Can you run git remote -v and see what it says?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to
Found the way to do that by using 'inverse_of' option (see below):
On 25 Mar 2013, at 16:03, Javix wrote:
> I'm using accepts_nested_attributes as follows:
>
> class Timesheet < ActiveRecord::Base
> attr_accessible :status, :user_id, :start_date, :end_date,
> :activities_attributes
> has_m
Thank you! I just had a couple of questions:
How should we approach the problem is the tab character is to be included
in the string. For example,
<% c = '\t' %>
just shows the tab as a space.
Also, shouldn't Rails helper tags use single quotes since they work in both
cases:
<% c1 = "'" %>
Em segunda-feira, 25 de março de 2013 14h39min09s UTC-3, Matt Jones
escreveu:
>
>
>
> On Sunday, 24 March 2013 12:59:00 UTC-4, Paulo Ribeiro wrote:
>>
>> Thx for your reply. I want to make the models more light. I want to make
>> models what will only access the database (CRUD), without callbac
This is what I am inputting and not getting a copy with
Attachments:
http://www.ruby-forum.com/attachment/8260/Capture.JPG
--
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 unsubscribe from t
I am trying to get the public key from rails, as the last part of the
installation how to in order to paste to Github... but for some reason,
it is not actually copying to my clipboard - and the key that I was
originally given earlier in the process is not allowing me to connect.
I apologize for t
What is the best design way to do this?
I'm creating a web form to receive input. The input data will be stored in
the database and then a search is done over three web services for some
corresponding data.
Is it correct to create in one model all the fields from the initial input
and the three
If I run "RAILS_ENV=production bundle install", I get the same error.
--
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 unsubscribe from this group and stop receiving emails from it, send an em
Hi,
When I run "bundle install" on my app, all works fine. Otherwise, if I
run "bundle install --gemfile
/home/deployer/apps/my_app/shared/cached-copy/app_portal/Gemfile --path
/home/deployer/apps/my_app/shared/bundle --deployment --without
development test" (command used by Capistrano), I get the
On Sunday, 24 March 2013 12:59:00 UTC-4, Paulo Ribeiro wrote:
>
> Thx for your reply. I want to make the models more light. I want to make
> models what will only access the database (CRUD), without callbacks and the
> other stuffs it loads.
>
>
Not to be rude, but this is still "what" you want
I'm using accepts_nested_attributes as follows:
class Timesheet < ActiveRecord::Base
attr_accessible :status, :user_id, :start_date, :end_date,
:activities_attributes
has_many :activities, dependent: :destroy
has_many :time_entries, through: :activities
accepts_nested_attributes_for :acti
Explain more a bit what you want. If you want to interact with Facebook's
API try to use the gem Koala. If you want to show only the users, you
should change your index(or any other page) to show all the users by name.
On that Railscast only shows the logged in user, so that name(your name) in
the
16 matches
Mail list logo