Just a hunch, but for starters index is a reserved mongoid word so for starters
try changing your class name.
Regards,
David
--
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
Just a hunch, but for starters index is a reserved mongoid word so for starters
try changing your class name.
Regards,
David
--
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
If you are using rails 3.1 I found mercury editor extremely easy to implement.
http://jejacks0n.github.com/mercury/
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg
I am using Mongoid and factory girl works fine. Havent used mongomapper, but
Mongoid seems to provide the flexibility of using active record type
relationships, with ongoing active support and upgrades to the orm.
Regards
David Krett
--
You received this message because you are subscribed to
On Oct 15, 3:43 am, radhames brito wrote:
> > I mean that you're apparently using it as a repeated pattern. I think
> > it's an antipattern -- something that looks like a good design pattern
> > at first, but is in fact to be avoided.
>
Marnen,
As someone who is a relative rails newbie, and wh
On Aug 19, 8:26 pm, Marnen Laibow-Koser wrote:
> dbkbali wrote:
> > On Aug 3, 11:25 pm, Marnen Laibow-Koser wrote:
> >> RailsI18Nis not "really nice". I recommend fast_gettext instead.
>
> > Marnen,
>
> > I am currently working on a multiple
On Aug 20, 11:32 pm, Lille wrote:
> Hi,
>
> I've been happily using the tablesorter plugin with pagination for
> jQuery in my rails app, but now I'm having a tough time integrating
> Railsian behavior like checkboxes that result in the deletion of data
> presented in table rows, etc. (behavior a
On Aug 3, 11:25 pm, Marnen Laibow-Koser wrote:
> Leonardo Mateo wrote:
> > On Tue, Aug 3, 2010 at 11:06 AM, Pale Horse
> > 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 withi18n. Overkill would
>
Same problem here but solved! hopefully this is helpful. Solution was
to watch Ryan Bates Railscast on Rails 3 XSS, and then to ensure any
strings being sent out by my form and custom helpers was HTML Safe =>
Just look for where the helpers are rendering tags and string and add
the ".html_safe" met
r_id"=>"", "detranslator_id"=>"", "idtranslator_id"=>"3",
"ownership_attributes"=>{"owner_id"=>""}}, "controller"=>"admin/
listings"}
For an individual edit/update the management
I have set up the following relationships Rails 2.3.5 and on update I
am finding that orphaned records are generated. Are my relationships
wrong or is there a recommended way to manage these orphaned records
on an update. Code is detailed below:
class User
has_many :management_assignments, :forei
Problem solved after debugging further realized my select option
values were being created in Javascript from an erb file, the problem
was created by using <%= %> instead of <%- %> when creating the
javascript to send to the client. Learning something new everyday!
On Feb 23, 1:05
reciated.
Thx anyway for your suggestion.
David
On Feb 22, 3:08 pm, Boby Ertanto wrote:
> You can try to change "Surabaya & Surrounding Areas" in your database to
> "Surabaya & Surrounding Areas"
>
> Best Regards,
> Boby Ertanto
>
> On Mon, Feb 2
I am having an annoying problem displaying the labels of a select box
correctly where there is an ampersand contained within the label
string.
On a form being rendered with the form_for helper the
collection_select reads data from a Mysql 5.075 database the text
stored in the database is "Surabaya
Many thanks Michael, it solved the problem, and thanks for the extra
advice I need it! as where I am based (Indonesia) no one teaches
rails.
On Feb 15, 7:39 pm, Michael Pavling wrote:
> On 15 February 2010 10:46, David Krett wrote:
>
>
>
> > I am a ruby on Rails Novice and I am having an extreme
15 matches
Mail list logo